Relative angle between 2 vectors

Blitz3D Forums/Blitz3D Programming/Relative angle between 2 vectors

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.

Well, converting from degrees to radians is easy.

radian# = (180.0 / Pi)

This'll tell you that one radian = 57 (ish) degrees.

I can't remember if Pi is a function or a constant, so you might need brackets on it to get it to return something other than 0.