GOOC - Game Oriented Object C
GOOC - Game Oriented Object C
5.3.8. Angle Constants
5.3.8. Angle Constants
An angle constant is a value that represents an angle. A full revolution (360 degrees) is equivalent to 4096 (0x1000). An angle constant can be written as any integer or real number followed by the suffix deg.
Either the integer part or the fractional part may be omitted, but not both. Here are some examples of valid angle constants:
.5deg
180deg
-360deg
22.5deg