예제 #1
0
 /// <inheritdoc cref="Mathfs.Clamp(int,int,int)"/>
 [MethodImpl(INLINE)] public static int Clamp(this int value, int min, int max) => Mathfs.Clamp(value, min, max);
예제 #2
0
 /// <inheritdoc cref="Mathfs.Clamp(float,float,float)"/>
 [MethodImpl(INLINE)] public static float Clamp(this float value, float min, float max) => Mathfs.Clamp(value, min, max);
예제 #3
0
 /// <inheritdoc cref="Mathfs.Clamp(Vector4,Vector4,Vector4)"/>
 [MethodImpl(INLINE)] public static Vector4 Clamp(this Vector4 v, Vector4 min, Vector4 max) => Mathfs.Clamp(v, min, max);
예제 #4
0
 public static float Clamp(this float v, float min, float max) => Mathfs.Clamp(v, min, max);