Update to Ultraleap Gemini v5.12

Update to Ultraleap Unity Plugin v6.9.0
Unclamped spreads and curls
This commit is contained in:
SDraw 2023-07-04 11:51:58 +03:00
parent 176d6530cb
commit db93926f61
No known key found for this signature in database
GPG key ID: BB95B4DAB2BB8BB5
41 changed files with 1001 additions and 2573 deletions

View file

@ -1,5 +1,5 @@
/******************************************************************************
* Copyright (C) Ultraleap, Inc. 2011-2021. *
* Copyright (C) Ultraleap, Inc. 2011-2023. *
* *
* Use subject to the terms of the Apache License 2.0 available at *
* http://www.apache.org/licenses/LICENSE-2.0, or another agreement *
@ -11,7 +11,6 @@ using UnityEngine;
namespace Leap
{
using System;
#pragma warning disable 0618
public static class TransformExtensions
{
@ -153,7 +152,7 @@ namespace Leap
if (bone.Length < float.Epsilon)
{
bone.Direction = Vector.Zero;
bone.Direction = Vector3.zero;
}
else
{
@ -175,5 +174,4 @@ namespace Leap
return new Bone().CopyFrom(bone).Transform(transform);
}
}
#pragma warning restore 0618
}