Path: chuka.playstation.co.uk!news From: alex@teeth.demon.co.uk (Alex Amsel) Newsgroups: scee.yaroze.programming.libraries Subject: Re: FP calculation speed. Date: Thu, 17 Apr 1997 19:33:14 GMT Organization: Into Beyond Lines: 20 Message-ID: <3358633d.1834747@news.playstation.co.uk> References: <01bc4b05$545e09e0$02018484@chrisa> Reply-To: alex@teeth.demon.co.uk NNTP-Posting-Host: teeth.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Newsreader: Forte Agent .99g/32.335 On 17 Apr 1997 07:54:59 GMT, "Chris Allmark" did quoth at me: Hi Chris, >Does the use of functions such as SIN(), COS() etc. have a dramatic effect >on speed. I am messing arround with a sprite routine which performs The proper ones probably use doubles or floats etc., and are very slow. Create a sintable similar to the ones used in several of the Sony demos - many contain sincos.h. You may simply use this as the accuracy should be ok for your needs. Stay away from floats and non-table based maths functions in general. If you have any questions just email me. * Alex Amsel * Into Beyond Web Design & JAVA Programming * * http://www.intobeyond.com * WWFC Utter Rubbish 1996-7* MM - "Steve Corica is every bit as good as that Kinkladze"