Esempio n. 1
0
 /// <summary>
 /// Returns a matrix where each element is the largest integral value that
 /// is less than or equal to the specified element.
 /// </summary>
 /// <param name="value">A matrix.</param>
 /// <returns>The floor of value.</returns>
 public static Matrix4x2f Floor(Matrix4x2f value)
 {
     return(new Matrix4x2f(Functions.Floor(value.M11), Functions.Floor(value.M21), Functions.Floor(value.M31), Functions.Floor(value.M41), Functions.Floor(value.M12), Functions.Floor(value.M22), Functions.Floor(value.M32), Functions.Floor(value.M42)));
 }
Esempio n. 2
0
 /// <summary>
 /// Returns a matrix where each element is the largest integral value that
 /// is less than or equal to the specified element.
 /// </summary>
 /// <param name="value">A matrix.</param>
 /// <returns>The floor of value.</returns>
 public static Matrix3x2d Floor(Matrix3x2d value)
 {
     return(new Matrix3x2d(Functions.Floor(value.M11), Functions.Floor(value.M21), Functions.Floor(value.M31), Functions.Floor(value.M12), Functions.Floor(value.M22), Functions.Floor(value.M32)));
 }
Esempio n. 3
0
 /// <summary>
 /// Returns a matrix where each element is the largest integral value that
 /// is less than or equal to the specified element.
 /// </summary>
 /// <param name="value">A matrix.</param>
 /// <returns>The floor of value.</returns>
 public static Matrix2x3f Floor(Matrix2x3f value)
 {
     return(new Matrix2x3f(Functions.Floor(value.M11), Functions.Floor(value.M21), Functions.Floor(value.M12), Functions.Floor(value.M22), Functions.Floor(value.M13), Functions.Floor(value.M23)));
 }
Esempio n. 4
0
 /// <summary>
 /// Returns a matrix where each element is the largest integral value that
 /// is less than or equal to the specified element.
 /// </summary>
 /// <param name="value">A matrix.</param>
 /// <returns>The floor of value.</returns>
 public static Matrix3x4d Floor(Matrix3x4d value)
 {
     return(new Matrix3x4d(Functions.Floor(value.M11), Functions.Floor(value.M21), Functions.Floor(value.M31), Functions.Floor(value.M12), Functions.Floor(value.M22), Functions.Floor(value.M32), Functions.Floor(value.M13), Functions.Floor(value.M23), Functions.Floor(value.M33), Functions.Floor(value.M14), Functions.Floor(value.M24), Functions.Floor(value.M34)));
 }
Esempio n. 5
0
 /// <summary>
 /// Returns a complex number where each component is the largest integral value that
 /// is less than or equal to the specified component.
 /// </summary>
 /// <param name="value">A complex number.</param>
 /// <returns>The floor of value.</returns>
 public static Complex Floor(Complex value)
 {
     return(new Complex(
                Functions.Floor(value.A),
                Functions.Floor(value.B)));
 }
Esempio n. 6
0
 /// <summary>
 /// Returns a matrix where each element is the largest integral value that
 /// is less than or equal to the specified element.
 /// </summary>
 /// <param name="value">A matrix.</param>
 /// <returns>The floor of value.</returns>
 public static Matrix4x3d Floor(Matrix4x3d value)
 {
     return(new Matrix4x3d(Functions.Floor(value.M11), Functions.Floor(value.M21), Functions.Floor(value.M31), Functions.Floor(value.M41), Functions.Floor(value.M12), Functions.Floor(value.M22), Functions.Floor(value.M32), Functions.Floor(value.M42), Functions.Floor(value.M13), Functions.Floor(value.M23), Functions.Floor(value.M33), Functions.Floor(value.M43)));
 }
Esempio n. 7
0
 /// <summary>
 /// Returns a vector where each component is the largest integral value that
 /// is less than or equal to the specified component.
 /// </summary>
 /// <param name="value">A vector.</param>
 /// <returns>The floor of value.</returns>
 public static Vector2f Floor(Vector2h value)
 {
     return(new Vector2f(Functions.Floor(value.X), Functions.Floor(value.Y)));
 }