Beispiel #1
0
 public static FInt ConvertToPercent(FInt radian)
 {
     return(FPSpectrum.GetPercentFromValue(FPRadians.Wrap(radian), (0 - FInt.PI), FInt.PI));
 }
Beispiel #2
0
 public static FInt ConvertToPercent(FInt degrees)
 {
     return(FPSpectrum.GetPercentFromValue(FPRadians.Wrap(degrees), FInt.Create(-180), FInt.Create(180)));
 }