예제 #1
0
 /// <summary>
 /// Divide an int point and round down the result.
 /// </summary>
 /// <param name="lhs">The int point being divided.</param>
 /// <param name="divisor">What to divide the int point by.</param>
 /// <returns>A new divided int point.</returns>
 /// <see cref="DivideAndRoundUp(FIntPoint, int)"/>
 public static FIntPoint DivideAndRoundDown(FIntPoint lhs, int divisor)
 {
     return(new FIntPoint(FMath.DivideAndRoundDown(lhs.X, divisor), FMath.DivideAndRoundDown(lhs.Y, divisor)));
 }