Angle Issue

Blitz3D Forums/Blitz3D Programming/Angle Issue

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I'm not quite sure what you want, but if you want to convert radians to -180 - +180 , you have to do a bit more code. First of all, does the dll return radians only in range 0 - 2*pi or can it be anything? If it's only in the range then this will do:
angle# = radians * 180/pi
If angle > 180 then angle = angle - 360