mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-16 08:02:36 +00:00
Added shader support, removed unused debugging puts statements and fixed Gosu Font.draw deprecation warning.
This commit is contained in:
@@ -77,13 +77,13 @@ class IMICFPS
|
||||
glMatrixMode(GL_MODELVIEW) # The modelview matrix is where object information is stored.
|
||||
glLoadIdentity
|
||||
|
||||
if $debug && @game_object
|
||||
glBegin(GL_LINES)
|
||||
glColor3f(1,0,0)
|
||||
glVertex3f(@x, @y, @z)
|
||||
glVertex3f(@game_object.x, @game_object.y, @game_object.z)
|
||||
glEnd
|
||||
end
|
||||
# if $debug && @game_object
|
||||
# glBegin(GL_LINES)
|
||||
# glColor3f(1,0,0)
|
||||
# glVertex3f(@x, @y, @z)
|
||||
# glVertex3f(@game_object.x, @game_object.y, @game_object.z)
|
||||
# glEnd
|
||||
# end
|
||||
end
|
||||
|
||||
def update
|
||||
|
||||
Reference in New Issue
Block a user