public static Point3D ToMedia3DPoint(this CmVector self) { return(new Point3D(self.X, self.Y, self.Z)); }
public static float Length(this CmVector self) { return(MathF.Sqrt((self.X * self.X) + (self.Y * self.Y) + (self.Z * self.Z))); }
public static void FromMedia3DQuaternion(this CmVector self, Vector3D other) { self.X = (float)other.X; self.Y = (float)other.Y; self.Z = (float)other.Z; }
public static void FromCmQuaternion(this Vector3D self, CmVector other) { self.X = other.X; self.Y = other.Y; self.Z = other.Z; }
public static Vector3D ToMedia3DVector(this CmVector self) { return(new Vector3D(self.X, self.Y, self.Z)); }