Example #1
0
 public static FInt GetYOffsetFromRotation(FInt radian, int xOffset, int yOffset)
 {
     return(-yOffset *FInt.Cos(radian) + xOffset * FInt.Sin(radian));
 }
Example #2
0
 // Get the X, Y from a rotation
 public static FInt GetXFromRotation(FInt radian, FInt distance)
 {
     return(distance * FInt.Cos(radian));
 }