Пример #1
0
 static void Mul(ref WindowsFormsApp1.Matrix3d m, ref Vector3 v)
 {
     WindowsFormsApp1.Vector3d v2 = new WindowsFormsApp1.Vector3d(v.X, v.Y, v.Z);
     v2.Mul(m);
     v.X = v2.X;
     v.Y = v2.Y;
     v.Z = v2.Z;
 }
Пример #2
0
 public static Vector3 ToVector3(this WindowsFormsApp1.Vector3d v)
 {
     return(new Vector3(v.X, v.Y, v.Z));
 }