Skip to content

Commit

Permalink
Box doesn't draw with z = @Depth anymore.
Browse files Browse the repository at this point in the history
  • Loading branch information
jacius committed Feb 24, 2009
1 parent 283045f commit ee7e601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rebirth/box.rb
Expand Up @@ -38,7 +38,7 @@ def _draw
[ 0.5, 0.5],
[-0.5, 0.5]]

verts.each { |vert| glVertex( vert+[@depth] ) }
verts.each { |vert| glVertex( vert+[0] ) }

glEnd()
end
Expand Down

0 comments on commit ee7e601

Please sign in to comment.