draw all triangles instead of the first 12,
added todo section to the README.md, clean up code
This commit is contained in:
@@ -39,8 +39,8 @@ struct Modl {
|
||||
std::string texture;
|
||||
float* vertex;
|
||||
float* uv;
|
||||
std::uint32_t meshSize;
|
||||
std::uint32_t* mesh;
|
||||
std::uint32_t meshSize;
|
||||
};
|
||||
|
||||
|
||||
@@ -73,6 +73,7 @@ private:
|
||||
public:
|
||||
std::vector<GLfloat> getVertex() const;
|
||||
std::vector<GLfloat> getUV() const;
|
||||
std::list<std::uint32_t> getSize() const;
|
||||
std::list<std::string> getTexture() const;
|
||||
|
||||
};
|
||||
|
@@ -49,6 +49,7 @@ private:
|
||||
// data
|
||||
std::vector<GLfloat> vfVertices;
|
||||
std::vector<GLfloat> vfUV;
|
||||
std::uint32_t ui32MeshSize;
|
||||
|
||||
// transformation ===============
|
||||
//values
|
||||
|
Reference in New Issue
Block a user