#pragma once #include #include "GL/glew.h" #include #include #include #include #include "timeh.hpp" #include "GL/glm/glm.hpp" #include "loadOBJ.h" #include "texture.hpp" class plane { private: float c_x{0}; float c_y{0}; float c_z{0}; float rot_x{0}; float rot_y{0}; float rot_z{0}; std::vector vertices; std::vector uvs; std::vector normals; // Won't be used at the moment. GLuint vertexbuffer; GLuint uvbuffer; const char* modelpath; public: plane(float x, float y, float z, const char* modelpath); void loadModel(); void draw(); void moveX(float x); void moveY(float y); void moveZ(float z); };