Camera almost done, maybe.

This commit is contained in:
2018-03-23 15:59:55 -05:00
parent 134099c2b1
commit 468600c1b4
3 changed files with 10 additions and 4 deletions

View File

@@ -36,6 +36,7 @@ class IMICFPS
_width = (@name_image.width/@devisor)/2
_x = @x
_y = normalize_bounding_box(model.bounding_box).max_y+0.05
glPushMatrix
glDisable(GL_LIGHTING)
glEnable(GL_COLOR_MATERIAL)
glEnable(GL_TEXTURE_2D)
@@ -71,6 +72,7 @@ class IMICFPS
# glDisable(GL_BLEND)
glDisable(GL_TEXTURE_2D)
glEnable(GL_LIGHTING)
glPopMatrix
end
def draw