Quote Originally Posted by Dan View Post
The function assumes that the angles are in radians so you might need to multiply your degree angles by (Pi / 180)
<Drumroll...> that was it...it is now working, sweet!! thanks mate

<gives a beer>

Now that it is working, I might convert the function to use my plain, vanilla records so lesser versions of Delphi can compile the code too

cheers,
Paul