Sha256: dce19221c69fea6ef885cf698076f8c0b25d49354d2d758f00308060eba78cd2
Contents?: true
Size: 471 Bytes
Versions: 2
Compression:
Stored size: 471 Bytes
Contents
describe Joybox::Physics::AABB do it "should convert between coordinate systems" do aabb = AABB.new aabb.lower_bound = [32, 32] aabb.upper_bound = [32, 32] aabb.metric_upper_bound.should == CGPointMake(1, 1) aabb.metric_lower_bound.should == CGPointMake(1, 1) aabb.metric_upper_bound = [2, 2] aabb.metric_lower_bound = [2, 2] aabb.lower_bound.should == CGPointMake(64, 64) aabb.upper_bound.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/aabb_spec.rb |
joybox-1.1.0 | spec/motion/joybox/physics/aabb_spec.rb |