示例#1
0
 public static Vec4 max(Vec4 a, float b) => a.Apply(x => MathF.Max(x, b));
示例#2
0
 public static Vec4 max(float a, Vec4 b) => b.Apply(x => MathF.Max(a, x));
示例#3
0
 public static Vec4 min(float a, Vec4 b) => b.Apply(x => MathF.Min(a, x));
示例#4
0
 public static Vec4 max(Vec4 a, Vec4 b) => a.Apply(MathF.Max, b);
示例#5
0
 public static Vec4 min(Vec4 a, float b) => a.Apply(x => MathF.Min(x, b));
示例#6
0
 public static Vec4 min(Vec4 a, Vec4 b) => a.Apply(MathF.Min, b);
示例#7
0
 public static Vec4 ceil(Vec4 v) => v.Apply(MathF.Ceiling);
示例#8
0
 public static Vec4 floor(Vec4 v) => v.Apply(MathF.Floor);
示例#9
0
 public static Vec4 abs(Vec4 v) => v.Apply(MathF.Abs);