[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu3dkit-dev] Trigonometry.m
From: |
Philippe C . D . Robert |
Subject: |
Re: [Gnu3dkit-dev] Trigonometry.m |
Date: |
Mon, 21 Oct 2002 18:48:11 +0200 |
On Monday, October 21, 2002, at 06:38 Uhr, Brent Gulanowski wrote:
Phil,
You're calling sin() and cos() which returns doubles, and then you're
saving these in arrays of floats. Would you possibly prefer to call
cosf() and sinf(), which return floats, or to store everything as
doubles?
Furthermore, what about a reverse lookup table to do trig inverses?
Just a suggestion; I have no need for such a thing yet myself.
Definitly, this thingy needs some real cleanup in many ways...
BTW I almost dropped it for 0.4 but then decided not to do so - but to
make it really useful, more methods should be added (inverses, tan,
atan, ... ).
-Phil
--
Philippe C.D. Robert
http://www.nice.ch/~phip