git-svn-id: svn://db.shs.com.ru/libs@45 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2015-11-23 17:07:25 +00:00
parent 104a7f99ad
commit 48addec20f
32 changed files with 738 additions and 541 deletions

View File

@@ -50,11 +50,13 @@ public:
bool loadFromFile(const QString & filename);
private:
QVector<GLfloat> vertices_, normals_, texcoords_, colors_;
void calculateBinormals();
QVector<GLfloat> vertices_, normals_, texcoords_, colors_, tangents_, bitangents_;
GLenum usage;
GLuint buffer_, va_;
int vert_count;
bool changed, has_normals, has_texcoords, has_colors;
bool changed, has_normals, has_texcoords, has_colors, has_binormals;
};