motion/joybox/physics/body.rb in joybox-0.0.6 vs motion/joybox/physics/body.rb in joybox-1.0.0
- old
+ new
@@ -75,10 +75,9 @@
# This line is needed to ensure that the position is a CGPoint
position = CGPointMake(position[0], position[1])
# Coordinate system conversion
- position = position.to_opengl_coordinates
position = position.to_pixel_coordinates
self.setPosition(position)
end