Path: chuka.playstation.co.uk!news From: "Jon Prestidge (Jon@surfed.to)" Newsgroups: scee.yaroze.freetalk.english Subject: Re: Sprite direction Date: Thu, 30 Aug 2001 22:12:28 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 7 Message-ID: <9mma6j$ijv1@www.netyaroze-europe.com> References: <9mlnpu$h6i2@www.netyaroze-europe.com> <9mlooj$h6i3@www.netyaroze-europe.com> <9mlpsn$h6i4@www.netyaroze-europe.com> <9mlu56$h6i5@www.netyaroze-europe.com> <9mm072$h6i6@www.netyaroze-europe.com> <9mm1bn$h6i7@www.netyaroze-europe.com> <9mm8vh$h6i11@www.netyaroze-europe.com> NNTP-Posting-Host: host213-122-52-245.btinternet.com X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 > Or, just use atan2 which takes 2 arguments and gives > an unambigious angle. yes (or if you don't have FP libs then use my auto_arc_tan which is like an integer version of atan2)