### ZDoom • View topic - ThrustThing + Angles

2010-12-8u2002·u2002Functions like ThrustThing take an angle in the 1 byte range 0 to 255. So this means that there are 2 correct methods to convert the fixed point angle to the byte angle. It is either by shifting the bits right 8 places, or dividing by 256. So due north can be expressed as 0.25 or 16384 for the fixed point functions, or 64 for the byte functions.

Get Price