OpenGL-Practice/Object3D.h
Jackson H 46df79ca2a init
2024-06-04 10:31:34 -05:00

27 lines
503 B
C++

#ifndef OBJECT3D_H
#define OBJECT3D_H
#include <string>
#include <vector>
class Object3D {
public:
std::vector<float> vertices;
std::vector<unsigned int> indices;
std::vector<float> normals;
std::vector<unsigned int> EBO_buffer;
std::vector<float> VBO_buffer;
Object3D();
Object3D(const std::string &file_path);
bool loadFromOBJ(const std::string& file_path);
std::vector<float> getVBOBuffer();
};
#endif //OBJECT3D_H