Path: chuka.playstation.co.uk!news From: James Shaughnessy Newsgroups: scee.yaroze.beginners Subject: Re: Wheeee!!! Throwing actions ! Date: Mon, 05 Oct 1998 23:56:46 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 23 Message-ID: <36194EAE.12D2@manc.u-net.com> References: <6vbdji$rda1@chuka.playstation.co.uk> <36194791.17530092@news.playstation.co.uk> Reply-To: james@manc.u-net.com NNTP-Posting-Host: manc.u-net.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0 (Win95; I) Richard Cutting wrote: > For speed reasons you want to steer well clear of the Yaroze's sin and > cos library functions. I recommend that you grab James Shaughnessy's > SINCOS.H file from his home page ( > http://www.netyaroze-europe.com/~shaughnj ) which gives you tables > containing a fixed point implementation. You have to do a bit of bit > shifting to use them but it's not difficult. Look for the file SCBUILD.ZIP on my site, more info in the readme. (cheers Rich for the link -- good to know things I do are of use :)) It's a (v. recently updated) DOS program that allows you ro build any size tables you want, eg typing "scbuild 1024" gives you arrays with 1024 index entries " long SIN[1024] = {.." Defaults to 360 divisions (degrees obviously) but using 1024 or 4096 is usually the most versatile numbers to use. Later, Jim -- ----------------------------------------- James Shaughnessy james@manc.u-net.com http://www.netyaroze-europe.com/~shaughnj -----------------------------------------