Terrrain fill dome, added terrain to face count

This commit is contained in:
2018-03-31 21:33:03 -05:00
parent 5a4bafce26
commit bc8c78c90b
3 changed files with 10 additions and 1 deletions

View File

@@ -100,6 +100,7 @@ class IMICFPS
glPolygonMode(GL_FRONT_AND_BACK, GL_FILL)
# glDrawArrays(GL_TRIANGLE_STRIP, 0, @vertices.size/3)
glDrawArrays(GL_TRIANGLES, 0, @vertices.size/3)
$window.number_of_faces+=@vertices.size/3
glDisableClientState(GL_VERTEX_ARRAY)
glDisableClientState(GL_NORMAL_ARRAY)