mirror of
https://github.com/hanetzer/sdraw_mods_cvr.git
synced 2025-09-07 12:09:17 +00:00
Update to Ultraleap Gemini v5.12
Update to Ultraleap Unity Plugin v6.9.0 Unclamped spreads and curls
This commit is contained in:
parent
176d6530cb
commit
db93926f61
41 changed files with 1001 additions and 2573 deletions
|
@ -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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue