How do I create a window creation function for OpenGL? [closed]
Closed 2 hours ago.
only 2 layers of blocks when there should be 8?
I’ve been using OpenGL and C++ to make a voxel engine, and for some reason, my code works, but only shows 2 blocks on the y axis, even though I specified in the main function to make the world 8x8x8 blocks.
C++, GLFW, and GLAD. Quad disappears once i moved it into a seperate class
I finally got a quad working with textures, and to clean up my code, I decided to move it into a separate class, but now it disappeared without any error message.