B3D's Entity Rotation

Blitz3D Forums/Blitz3D Programming/B3D's Entity Rotation

use:

if ey<0
ey = ey+360
return ey
else
return ey
endif

ey will always be>=-180 :)