Please join us at the new JavaWorld Q&A Forums. Your existing login will work there. The discussions here are now read-only.


JavaWorld Talkback >> 958403

Anonymous
Unregistered




Faster sin/cos implementation
      10/11/04 11:13 AM

Hi there. Once upon a time, while coding a software 3d engine in Java, i found that Math sin() and cos() methods were slooow... So i made a helper class wich contained a pre-calculated buffer from wich i served sin/cos values, using costum sin()/cos() methods. The custom sin() / cos() methods simply looked up into the pre-calculated buffer. And that approach was *fast*, believe me. No jni, no c++, just pure java

Post Extras Print Post   Remind Me!     Notify Moderator


Entire topic
Subject Posted by Posted on
* Faster sin/cos implementation Anonymous 10/11/04 11:13 AM

Extra information
0 registered and 1 anonymous users are browsing this forum.

Moderator:   



Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Thread views: 6968

Rate this thread

Jump to

Contact us JavaWorld

Powered by UBB.threads™ 6.5.5