示例#1
0
 internal static Vector2 Mul(ref Mat22 A, Vector2 v)
 {
     return(Mul(ref A, ref v));
 }
示例#2
0
 internal static Vector2 Mul(ref Mat22 A, ref 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));
 }
示例#3
0
 public static void Add(ref Mat22 A, ref Mat22 B, out Mat22 R)
 {
     R.ex = A.ex + B.ex;
     R.ey = A.ey + B.ey;
 }