Exemple #1
0
 internal 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));
 }
Exemple #2
0
 internal static Vector3 Mul(Mat33 A, Vector3 v)
 {
     return(v.x * A.ex + v.y * A.ey + v.z * A.ez);
 }