Exemple #1
0
 public static ReturnStatus GetRotation(ref LEAP_IE_KABSCH kabsch,
                                     out LEAP_QUATERNION rotation) {
   var rs = LeapIEKabschGetRotation(ref kabsch, out rotation);
   Logger.HandleReturnStatus("GetRotation", LogLevel.AllCalls, rs);
   return rs;
 }
 public static LEAP_QUATERNION ToCQuaternion(this Quaternion q) {
   LEAP_QUATERNION cQuaternion = new LEAP_QUATERNION();
   cQuaternion.x = q.x;
   cQuaternion.y = q.y;
   cQuaternion.z = q.z;
   cQuaternion.w = q.w;
   return cQuaternion;
 }
Exemple #3
0
 private static extern ReturnStatus LeapIEKabschGetRotation(ref LEAP_IE_KABSCH kabsch,
                                                         out LEAP_QUATERNION rotation);