完成编队 增加多个细节和小功能
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
namespace SmoothShakeFree
|
||||
{
|
||||
public static class Utility
|
||||
{
|
||||
public static float Remap(float valueInput, float oldRangeMin, float oldRangeMax, float newRangeMin, float newRangeMax)
|
||||
{
|
||||
return newRangeMin + (valueInput - oldRangeMin) * (newRangeMax - newRangeMin) / (oldRangeMax - oldRangeMin);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user