Beispiel #1
0
 public static VecFx32 operator *(VecFx32 vec1, float value) =>
 new VecFx32(Fx32.ToFloat(vec1.X) * value, Fx32.ToFloat(vec1.Y) * value, Fx32.ToFloat(vec1.Z) * value);
Beispiel #2
0
 public Vector3 ToVector3()
 {
     return(Fx32.ToFloat(X), Fx32.ToFloat(Y), Fx32.ToFloat(Z));
 }
Beispiel #3
0
 public VecFx32(float value)
 {
     X = Fx32.FromFloat(value);
     Y = Fx32.FromFloat(value);
     Z = Fx32.FromFloat(value);
 }
Beispiel #4
0
 public VecFx32(Vector3 vec)
 {
     X = Fx32.FromFloat(vec.X);
     Y = Fx32.FromFloat(vec.Y);
     Z = Fx32.FromFloat(vec.Z);
 }
Beispiel #5
0
 public VecFx32(float x, float y, float z)
 {
     X = Fx32.FromFloat(x);
     Y = Fx32.FromFloat(y);
     Z = Fx32.FromFloat(z);
 }