Пример #1
0
 public Collision Multiply(PlanarTransformMatrix Transform)
 {
     Vector2f[] V = new Vector2f[Length];
     for (int i = 0; i < V.Length; ++i)
     {
         V[i] = Transform * this[i].Point;
     }
     return(new CollisionPolygon(V));
 }
Пример #2
0
 public PlanarTransformMatrix(PlanarTransformMatrix Copy)
 {
     e00 = Copy.e00;
     e01 = Copy.e01;
     e02 = Copy.e02;
     e10 = Copy.e10;
     e11 = Copy.e11;
     e12 = Copy.e12;
     e20 = Copy.e20;
     e21 = Copy.e21;
     e22 = Copy.e22;
 }
Пример #3
0
 public Collision Multiply(PlanarTransformMatrix Transform)
 {
     return(new CollisionRadius(Transform * _Center, _Radius));
 }