Custom math functions vs. supplied Math functions?

前端 未结 5 2029
滥情空心
滥情空心 2021-01-28 14:10

I am basically making a Java program that will have to run a lot of calculations pretty quickly(each frame, aiming for at least 30 f/s). These will mostly be trigonometric and p

5条回答
  •  北海茫月
    2021-01-28 14:41

    You will want to use the java.lang.Math functions as most of them run native in the JVM. you can see the source code here.

提交回复
热议问题