コード例 #1
0
ファイル: Extensions.cs プロジェクト: MohitSethi99/Mathfs
 /// <inheritdoc cref="Mathfs.Max(Vector4)"/>
 [MethodImpl(INLINE)] public static float Max(this Vector4 v) => Mathfs.Max(v);
コード例 #2
0
 public static float Max(this Vector4 v) => Mathfs.Max(v.x, v.y, v.z, v.w);
コード例 #3
0
 public static float Max(this Vector2 v) => Mathfs.Max(v.x, v.y);
コード例 #4
0
 public static float Max(this Vector3 v) => Mathfs.Max(v.x, v.y, v.z);
コード例 #5
0
 public static float AtLeast(this float v, float min) => Mathfs.Max(v, min);