Example #1
0
 /// Multiply a matrix times a vector.
 public static Vector3 Mul(Mat33 A, Vector3 v)
 {
     return v.X * A.ex + v.Y * A.ey + v.Z * A.ez;
 }
Example #2
0
 /// Multiply a matrix times a vector.
 public static Vector2 Mul22(Mat33 A, Vector2 v)
 {
     return new Vector2(A.ex.X * v.X + A.ey.X * v.Y, A.ex.Y * v.X + A.ey.Y * v.Y);
 }
Example #3
0
 /// Multiply a matrix times a vector.
 public static Vector2 Mul22(Mat33 A, Vector2 v)
 {
     return(new Vector2(A.Ex.X * v.X + A.Ey.X * v.Y, A.Ex.Y * v.X + A.Ey.Y * v.Y));
 }
Example #4
0
 /// Multiply a matrix times a vector.
 public static Vector3 Mul(Mat33 A, Vector3 v)
 {
     return(v.X * A.Ex + v.Y * A.Ey + v.Z * A.Ez);
 }
 /// Multiply a matrix times a vector.
 public static Vector3 mul(Mat33 A, Vector3 v)
 {
     return(v.X * A.ex + v.Y * A.ey + v.Z * A.ez);
 }
Example #6
0
 /// Multiply a matrix times a vector.
 public static FVector2 Mul22(Mat33 A, FVector2 v)
 {
     return(new FVector2(A.ex.X * v.X + A.ey.X * v.Y, A.ex.Y * v.X + A.ey.Y * v.Y));
 }
Example #7
0
 /// Multiply a matrix times a vector.
 public static FVector3 Mul(Mat33 A, FVector3 v)
 {
     return(v.X * A.ex + v.Y * A.ey + v.Z * A.ez);
 }