Re: Help with "facing" routine
- Posted by Robert B Pilkington <bpilkington at JUNO.COM> Jul 01, 1998
- 659 views
>> >the above -wont- work for you. it's simply an outline >> >of what needs to be done. arctan only handles 0 to 180 >> >(actually -pi/2 to pi/2 which is -90 to +90) so it >> >will only give you 12 of the 24 facings... >> >> Actually, if it works for 2d, it will work for him. If it works, >> it'll also work for me.... :) >don't take this the wrong way: >not! >:) >that function will not do as he asks...namely giving *24* directions. >the other half of the potential facings is *missing*, giving only 12. >you would have to flip the sign of the x or y axis to get the other >half. I said "IF it works".. :) Besides, it had constant delcarations inside the function. That's illegal. :) Oh well, that's what I get for not reading everything completely... :/ _____________________________________________________________________ You don't need to buy Internet access to use free Internet e-mail. Get completely free e-mail from Juno at http://www.juno.com Or call Juno at (800) 654-JUNO [654-5866]