Example #1
0
 public static Vector3 Floor(this Vector3 v)
 {
     return(new Vector3(MathsHelper.Floor(v.X), MathsHelper.Floor(v.Y), MathsHelper.Floor(v.Z)));
 }
Example #2
0
 public static Vector4 Floor(this Vector4 v)
 {
     return(new Vector4(MathsHelper.Floor(v.X), MathsHelper.Floor(v.Y), MathsHelper.Floor(v.Z), MathsHelper.Floor(v.W)));
 }
Example #3
0
 public static Vector2 Floor(this Vector2 v)
 {
     return(new Vector2(MathsHelper.Floor(v.X), MathsHelper.Floor(v.Y)));
 }