Beispiel #1
0
 public static void FromMedia3DQuaternion(this CmQuaternion self, Quaternion other)
 {
     self.X = (float)other.X;
     self.Y = (float)other.Y;
     self.Z = (float)other.Z;
     self.W = (float)other.W;
 }
Beispiel #2
0
 public static void FromCmQuaternion(this Quaternion self, CmQuaternion other)
 {
     self.X = other.X;
     self.Y = other.Y;
     self.Z = other.Z;
     self.W = other.W;
 }
Beispiel #3
0
 public static Quaternion ToMedia3DQuaternion(this CmQuaternion self)
 {
     return(new Quaternion(self.X, self.Y, self.Z, self.W));
 }