Example #1
0
 public static global::SharpDX.Vector4 Normalized(this global::SharpDX.Vector4 vector)
 {
     vector.Normalize();
     return(vector);
 }
Example #2
0
 public static global::SharpDX.Color4 ToColor4(this global::SharpDX.Vector4 vector, float w = 1f)
 {
     return(new global::SharpDX.Color4((float)vector.X, (float)vector.Y, (float)vector.Z, (float)vector.W));
 }