mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 23:52:35 +00:00
Updates
This commit is contained in:
@@ -46,6 +46,7 @@ class IMICFPS
|
||||
glColorMaterial(GL_FRONT_AND_BACK, GL_AMBIENT_AND_DIFFUSE)
|
||||
glShadeModel(GL_FLAT) unless o.faces.first[4]
|
||||
glShadeModel(GL_SMOOTH) if o.faces.first[4]
|
||||
# glBegin(GL_TRIANGLES) # begin drawing model
|
||||
glBegin(GL_TRIANGLES) # begin drawing model
|
||||
o.faces.each do |vert|
|
||||
vertex = vert[0]
|
||||
|
||||
Reference in New Issue
Block a user