Exemplo n.º 1
0
 //C++ TO C# CONVERTER NOTE: C# does not allow default values for parameters. Overloaded methods are inserted above.
 //ORIGINAL LINE: float4 Homogenize(const float3 &v3, const float &w =1.0f)
 public static float4 Homogenize(float3 v3, float w)
 {
     return(new float4(v3.x, v3.y, v3.z, w));
 }
Exemplo n.º 2
0
 public void setxyz(float3 xyz)
 {
     x = xyz.x;
     y = xyz.y;
     z = xyz.z;
 }
Exemplo n.º 3
0
 public static float4 Homogenize(float3 v3)
 {
     return(Homogenize(v3, 1.0f));
 }