mirror of
https://github.com/hanetzer/sdraw_mods_cvr.git
synced 2025-09-03 10:29:22 +00:00
Minor cleanup
This commit is contained in:
parent
6a671d0da6
commit
9e841cef1c
15 changed files with 142 additions and 171 deletions
|
@ -283,7 +283,7 @@ namespace ml_lme
|
|||
{
|
||||
float l_strength = l_data.m_leftHand.m_grabStrength;
|
||||
|
||||
float l_interactValue = 0f;
|
||||
float l_interactValue;
|
||||
if(m_gripToGrab)
|
||||
l_interactValue = Mathf.Clamp01(Mathf.InverseLerp(Mathf.Min(Settings.GripThreadhold, Settings.InteractThreadhold), Mathf.Max(Settings.GripThreadhold, Settings.InteractThreadhold), l_strength));
|
||||
else
|
||||
|
@ -311,7 +311,7 @@ namespace ml_lme
|
|||
{
|
||||
float l_strength = l_data.m_rightHand.m_grabStrength;
|
||||
|
||||
float l_interactValue = 0f;
|
||||
float l_interactValue;
|
||||
if(m_gripToGrab)
|
||||
l_interactValue = Mathf.Clamp01(Mathf.InverseLerp(Mathf.Min(Settings.GripThreadhold, Settings.InteractThreadhold), Mathf.Max(Settings.GripThreadhold, Settings.InteractThreadhold), l_strength));
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue