예제 #1
0
 /// <inheritdoc cref="Mathfs.Min(Vector4)"/>
 [MethodImpl(INLINE)] public static float Min(this Vector4 v) => Mathfs.Min(v);
예제 #2
0
 public static float Min(this Vector4 v) => Mathfs.Min(v.x, v.y, v.z, v.w);
예제 #3
0
 public static float Min(this Vector2 v) => Mathfs.Min(v.x, v.y);
예제 #4
0
 public static float Min(this Vector3 v) => Mathfs.Min(v.x, v.y, v.z);
예제 #5
0
 public static float AtMost(this float v, float max) => Mathfs.Min(v, max);