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