Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
C-Fu
OpenGL
Commits
a8bfacfd
Commit
a8bfacfd
authored
Oct 23, 2016
by
Anakin
Browse files
fixed wrong placed triangles,
updated release exe
parent
5cec0128
Changes
3
Hide whitespace changes
Inline
Side-by-side
MshViewer/Source/OpenGlController.cpp
View file @
a8bfacfd
...
...
@@ -247,7 +247,7 @@ void OpenGLController::updateScene()
glVertexAttribPointer
(
1
,
2
,
GL_FLOAT
,
GL_FALSE
,
0
,
0
);
//draw objects
glDrawArrays
(
GL_TRIANGLES
,
0
,
ui32MeshSize
*
3
);
glDrawArrays
(
GL_TRIANGLES
,
0
,
ui32MeshSize
);
//close attributes
glDisableVertexAttribArray
(
0
);
...
...
README.md
View file @
a8bfacfd
...
...
@@ -13,7 +13,6 @@ Feel free to use my code the way you like. But remember i used some public libra
licence, too.
### To Do
-
sphere isn't displayed correctly,
-
bones are not triangulated,
-
nulls are not triangulated,
-
crash when loading trooper,
...
...
Release/MshViewer.exe
View file @
a8bfacfd
No preview for this file type
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment