@@ -46,24 +46,6 @@ public static extern int ConvertSecondsToTicksInternal(float seconds, int resolu
46
46
#endif
47
47
public static extern int RoundUpToTheNearestMultiplier ( int value , int multiplier ) ;
48
48
49
- #if WINDOWS_BUILD || UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN
50
- [ DllImport ( "libRhythmGameUtilities.dll" , CallingConvention = CallingConvention . Cdecl ) ]
51
- #elif MACOS_BUILD || UNITY_EDITOR_OSX || UNITY_STANDALONE_OSX
52
- [ DllImport ( "libRhythmGameUtilities.dylib" , CallingConvention = CallingConvention . Cdecl ) ]
53
- #elif LINUX_BUILD || UNITY_EDITOR_LINUX || UNITY_STANDALONE_LINUX
54
- [ DllImport ( "libRhythmGameUtilities.so" , CallingConvention = CallingConvention . Cdecl ) ]
55
- #endif
56
- public static extern float Lerp ( float a , float b , float t ) ;
57
-
58
- #if WINDOWS_BUILD || UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN
59
- [ DllImport ( "libRhythmGameUtilities.dll" , CallingConvention = CallingConvention . Cdecl ) ]
60
- #elif MACOS_BUILD || UNITY_EDITOR_OSX || UNITY_STANDALONE_OSX
61
- [ DllImport ( "libRhythmGameUtilities.dylib" , CallingConvention = CallingConvention . Cdecl ) ]
62
- #elif LINUX_BUILD || UNITY_EDITOR_LINUX || UNITY_STANDALONE_LINUX
63
- [ DllImport ( "libRhythmGameUtilities.so" , CallingConvention = CallingConvention . Cdecl ) ]
64
- #endif
65
- public static extern float InverseLerp ( float a , float b , float v ) ;
66
-
67
49
#if WINDOWS_BUILD || UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN
68
50
[ DllImport ( "libRhythmGameUtilities.dll" , CallingConvention = CallingConvention . Cdecl ) ]
69
51
#elif MACOS_BUILD || UNITY_EDITOR_OSX || UNITY_STANDALONE_OSX
@@ -103,16 +85,6 @@ public static int RoundUpToTheNearestMultiplier(int value, int multiplier)
103
85
return UtilitiesInternal . RoundUpToTheNearestMultiplier ( value , multiplier ) ;
104
86
}
105
87
106
- public static float Lerp ( float a , float b , float t )
107
- {
108
- return UtilitiesInternal . Lerp ( a , b , t ) ;
109
- }
110
-
111
- public static float InverseLerp ( float a , float b , float v )
112
- {
113
- return UtilitiesInternal . InverseLerp ( a , b , v ) ;
114
- }
115
-
116
88
public static List < BeatBar > CalculateBeatBars ( Dictionary < int , int > bpmChanges , int resolution = 192 , int ts = 4 ,
117
89
bool includeHalfNotes = true )
118
90
{
0 commit comments