Fixed always adding a new node to AABBTree when updating a node.

This commit is contained in:
2019-02-25 12:51:26 -06:00
parent 97818c8a33
commit 0d7210b3f7
4 changed files with 14 additions and 12 deletions

View File

@@ -79,13 +79,6 @@ class IMICFPS
glMatrixMode(GL_MODELVIEW) # The modelview matrix is where object information is stored.
glLoadIdentity
# if $debug && @entity
# glBegin(GL_LINES)
# glColor3f(1,0,0)
# glVertex3f(@x, @y, @z)
# glVertex3f(@entity.x, @entity.y, @entity.z)
# glEnd
# end
end
def update