Sha256: 7002ef756daa8bb800cbfed13ef99ddafcd6d3253d9fe9279668308c00d7346d
Contents?: true
Size: 308 Bytes
Versions: 2
Compression:
Stored size: 308 Bytes
Contents
describe Joybox::Physics::MassData do it "should convert between coordinate systems" do mass_data = MassData.new mass_data.center = [32, 32] mass_data.metric_center.should == CGPointMake(1, 1) mass_data.metric_center = [2, 2] mass_data.center.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/mass_data_spec.rb |
joybox-1.1.0 | spec/motion/joybox/physics/mass_data_spec.rb |