hi
My study group is making a cannon game. ( you control a cannon and shoot at a target )
I just have a question, we have made a mountain in the background and we use math to calculate the curves, and alot of calls to Math.sin() and other math functions. I can see with a profiler that the calculation of this mountain takes
i was wondering, is it better to create a custom shape with graphics2d and draw that instead of applying “theory math” in javacode to create curves? what is fastest?