mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-16 08:02:36 +00:00
Terrrain fill dome, added terrain to face count
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user