Пример #1
0
 /// <summary>
 /// Returns a new vector with all components rounded up (towards positive infinity).
 /// </summary>
 /// <returns>A vector with <see cref="Mathd.Ceil"/> called on each component.</returns>
 public Vector2d Ceil()
 {
     return(new Vector2d(Mathd.Ceil(x), Mathd.Ceil(y)));
 }
Пример #2
0
 public Vector4d Ceil()
 {
     return(new Vector4d(Mathd.Ceil(x), Mathd.Ceil(y), Mathd.Ceil(z), Mathd.Ceil(w)));
 }
Пример #3
0
 /// <summary>
 /// Returns a new vector with all components rounded up (towards positive infinity).
 /// </summary>
 /// <returns>A vector with <see cref="Mathd.Ceil"/> called on each component.</returns>
 public Vector3d Ceil()
 {
     return(new Vector3d(Mathd.Ceil(x), Mathd.Ceil(y), Mathd.Ceil(z)));
 }