Br angle

From Foone Wiki
Revision as of 10:31, 5 January 2019 by Foone (talk | contribs) (Created page with "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 conv...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.