示例#1
0
 public float dot(float4 b)
 {
     return(x * b.x + y * b.y + z * b.z + w * b.w);
 }
示例#2
0
 public static float4 normalize(float4 a)
 {
     return(a.normalize());
 }
示例#3
0
 public static float dot(float4 a, float4 b)
 {
     return(a.x * b.x + a.y * b.y + a.z * b.z + a.w * b.w);
 }
示例#4
0
 public static float length(float4 a)
 {
     return(a.length());
 }