mirror of
https://github.com/hanetzer/sdraw_mods_cvr.git
synced 2025-09-05 19:39:21 +00:00
Logic rewrite
Update to LeapCSharp 5.13.1 Not tested in VR
This commit is contained in:
parent
a41f17af82
commit
3609500959
21 changed files with 566 additions and 103 deletions
3
ml_lme/vendor/LeapCSharp/LeapQuaternion.cs
vendored
3
ml_lme/vendor/LeapCSharp/LeapQuaternion.cs
vendored
|
@ -14,6 +14,7 @@ namespace Leap
|
|||
/// The LeapQuaternion struct represents a rotation in three-dimensional space.
|
||||
/// @since 3.1.2
|
||||
/// </summary>
|
||||
[System.Obsolete("This code will be moved to a legacy package in the next major version of the plugin. Use Unity's Quaternion instead. If you believe that it needs to be kept in tracking, please open a discussion on the GitHub forum (https://github.com/ultraleap/UnityPlugin/discussions)")]
|
||||
[Serializable]
|
||||
public struct LeapQuaternion :
|
||||
IEquatable<LeapQuaternion>
|
||||
|
@ -125,7 +126,7 @@ namespace Leap
|
|||
get
|
||||
{
|
||||
float denom = MagnitudeSquared;
|
||||
if (denom <= Constants.EPSILON)
|
||||
if (denom <= CSharpExtensions.Constants.EPSILON)
|
||||
{
|
||||
return Identity;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue