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); }
public HeadPoseEventArgs(LEAP_VECTOR head_position, LEAP_QUATERNION head_orientation) : base(LeapEvent.EVENT_POINT_MAPPING_CHANGE) { this.headPosition = head_position; this.headOrientation = head_orientation; }
public static Quaternion ToQuaternion(this LEAP_QUATERNION q) { return(new Quaternion(q.x, q.y, q.z, q.w)); }
private static extern ReturnStatus LeapIEKabschGetRotation(ref LEAP_IE_KABSCH kabsch, out LEAP_QUATERNION rotation);