Пример #1
0
 public virtual bool TestWith(OBB shape){ return false;}
Пример #2
0
 void ShowOBB(OBB obb, int idx)
 {
     ShowShape(obb, idx, DrawProperty);
 }
Пример #3
0
 public static bool TestCollision(Circle a, OBB b)
 {
     return(TestCircleOBB(a.pos, a.radius
                          , b.pos, b.radius, b.size, b.up
                          ));
 }
Пример #4
0
 public override bool TestWith(OBB shape)
 {
     return(Utils.TestCollision(shape, this));
 }
Пример #5
0
 public static bool TestCollision(AABB a, OBB b)
 {
     return(TestAABBOBB(a.pos, a.radius, a.size
                        , b.pos, b.radius, b.size, b.up
                        ));
 }