|
|
|||||||
|
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
|