Ejemplo n.º 1
0
 /// <summary>
 /// Returns a new vector with all components rounded down (towards negative infinity).
 /// </summary>
 /// <returns>A vector with <see cref="Mathd.Floor"/> called on each component.</returns>
 public Vector2d Floor()
 {
     return(new Vector2d(Mathd.Floor(x), Mathd.Floor(y)));
 }
Ejemplo n.º 2
0
 public Vector4d Floor()
 {
     return(new Vector4d(Mathd.Floor(x), Mathd.Floor(y), Mathd.Floor(z), Mathd.Floor(w)));
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Returns a new vector with all components rounded down (towards negative infinity).
 /// </summary>
 /// <returns>A vector with <see cref="Mathd.Floor"/> called on each component.</returns>
 public Vector3d Floor()
 {
     return(new Vector3d(Mathd.Floor(x), Mathd.Floor(y), Mathd.Floor(z)));
 }