parent
5cec0128cd
commit
a8bfacfd73
|
@ -247,7 +247,7 @@ void OpenGLController::updateScene()
|
||||||
glVertexAttribPointer(1, 2, GL_FLOAT, GL_FALSE, 0, 0);
|
glVertexAttribPointer(1, 2, GL_FLOAT, GL_FALSE, 0, 0);
|
||||||
|
|
||||||
//draw objects
|
//draw objects
|
||||||
glDrawArrays(GL_TRIANGLES, 0, ui32MeshSize * 3);
|
glDrawArrays(GL_TRIANGLES, 0, ui32MeshSize);
|
||||||
|
|
||||||
//close attributes
|
//close attributes
|
||||||
glDisableVertexAttribArray(0);
|
glDisableVertexAttribArray(0);
|
||||||
|
|
|
@ -13,7 +13,6 @@ Feel free to use my code the way you like. But remember i used some public libra
|
||||||
licence, too.
|
licence, too.
|
||||||
|
|
||||||
### To Do
|
### To Do
|
||||||
- sphere isn't displayed correctly,
|
|
||||||
- bones are not triangulated,
|
- bones are not triangulated,
|
||||||
- nulls are not triangulated,
|
- nulls are not triangulated,
|
||||||
- crash when loading trooper,
|
- crash when loading trooper,
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue