made opengl use floatyphys class for position