/// <summary> /// Using Unity Debug, draws the x,y,z axis of a Quaternion as x magenta, y yellow and z cyan /// </summary> /// <param name="rot">The OpenTK Quaterion</param> /// <param name="pos">The OpenTK Vector3 position to be drawn</param> public static void DrawRays2(OpenTK.Quaternion rot, OpenTK.Vector3 pos) { DrawRays2(rot.Convert(), pos.Convert(), 0.07f); }
/// <summary> /// Using Unity Debug, draws the x,y,z axis of a Quaternion as x magenta, y yellow and z cyan /// </summary> /// <param name="rot">The OpenTK Quaterion</param> /// <param name="pos">The OpenTK Vector3 position to be drawn</param> /// <param name="scale">The float length of the axis in meter</param> public static void DrawRays2(OpenTK.Quaternion rot, OpenTK.Vector3 pos, float scale) { DrawRays2(rot.Convert(), pos.Convert(), scale); }