This commit is contained in:
Jackson H committed 2024-06-04 10:31:34 -05:00
commit 46df79ca2a
10 files changed
+1054

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
#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