Sha256: fc4bfcdd763f93f093ed7f64957277cda6e3fa354c1cb6b5af46258b3d68ea70
Contents?: true
Size: 356 Bytes
Versions: 2
Compression:
Stored size: 356 Bytes
Contents
Joybox::Physics::Transform = B2DTransform class B2DTransform alias_method :metric_position, :point alias_method :metric_position=, :setPoint def position metric_position.to_pixel_coordinates end def position=(point) point = point.to_point unless point.is_a? (CGPoint) self.metric_position = point.from_pixel_coordinates end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
joybox-1.1.1 | motion/joybox/physics/transform.rb |
joybox-1.1.0 | motion/joybox/physics/transform.rb |