Example #1
0
 // Reverse / Invert Radians
 public static FInt Reverse(FInt radian)
 {
     return(FPRadians.Normalize(radian + FInt.PI));
 }
Example #2
0
 public static FInt GetYFromRotation(FInt degrees, FInt distance)
 {
     return(FPRadians.GetYFromRotation(FPDegrees.ConvertToRadians(degrees), distance));
 }
Example #3
0
 public static FInt ConvertToPercent(FInt radian)
 {
     return(FPSpectrum.GetPercentFromValue(FPRadians.Wrap(radian), (0 - FInt.PI), FInt.PI));
 }
Example #4
0
 public static FInt ConvertToPercent(FInt degrees)
 {
     return(FPSpectrum.GetPercentFromValue(FPRadians.Wrap(degrees), FInt.Create(-180), FInt.Create(180)));
 }