Br angle

From Foone Wiki
Jump to: navigation, search

Length: 2 bytes

Fixed point number, fractional.

To convert a br_angle to degrees, interpret as a 16bit unsigned integer and divide by 65536.0 and multiply by 360.0.

To convert an angle in degrees to br_angle, divide by 360.0 and multiply by 65536 and represent as a 16bit unsigned integer.