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

Pages: 1
Anonymous
Unregistered




Faster sin/cos implementation
      #12340 - 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  
Pages: 1



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

Moderator:   

Print Topic

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

Rating:
Topic views: 6968

Rate this topic

Jump to

Contact us JavaWorld

Powered by UBB.threads™ 6.5.5