예제 #1
0
 /// Returns 1 inside the longest(s) axis(es) and 0 in the others
 public static bool4 cmaxAxis(this float4 f)
 {
     var m = f.cmax(); return(new bool4(f.x == m, f.y == m, f.z == m, f.w == m));
 }