draw all triangles instead of the first 12,

added todo section to the README.md,
clean up code
This commit is contained in:
Anakin
2016-10-23 16:01:06 +02:00
parent 6d5489a96c
commit 5cec0128cd
6 changed files with 38 additions and 16 deletions

View File

@@ -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;
};

View File

@@ -49,6 +49,7 @@ private:
// data
std::vector<GLfloat> vfVertices;
std::vector<GLfloat> vfUV;
std::uint32_t ui32MeshSize;
// transformation ===============
//values