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