Sha256: f5ad5bef69154928016079f6c6b0b2f16d61093ce60edeaf6c4065fd6bda02d5
Contents?: true
Size: 318 Bytes
Versions: 2
Compression:
Stored size: 318 Bytes
Contents
describe Joybox::Physics::Transform do it "should convert between coordinate systems" do transform = Transform.new transform.position = [32, 32] transform.metric_position.should == CGPointMake(1, 1) transform.metric_position = [2, 2] transform.position.should == CGPointMake(64, 64) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
joybox-1.1.1 | spec/motion/joybox/physics/transform_spec.rb |
joybox-1.1.0 | spec/motion/joybox/physics/transform_spec.rb |