Closed egonelbre closed 8 years ago
Can we get some trig Math functions? :) I'm eager to test this by implementing some breakout-physics, like velocity changes depending on what part of the paddle you hit...!
Looks like you could add those by editing this file: https://github.com/jcoplien/trygve/blob/master/src/main/java/info/fulloo/trygve/add_ons/MathClass.java
Of course, Cope may already be planning to add them or have a particular approach in mind for doing so.
On 4/26/16 9:03 AM, Andreas wrote:
Can we get some trig Math functions? :) I'm eager to test this by implementing some breakout-physics, like velocity changes depending on what part of the paddle you hit...!
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/jcoplien/trygve/pull/108#issuecomment-214733980
Done. Sine, cosine, and atan2.
Den 26/04/2016 kl. 15.03 skrev Andreas notifications@github.com:
Can we get some trig Math functions? :) I'm eager to test this by implementing some breakout-physics, like velocity changes depending on what part of the paddle you hit...!
— You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub https://github.com/jcoplien/trygve/pull/108#issuecomment-214733980
Thank you! Time to dig up some forgotten math skills...
Looks good. Thanks for the Oval fix.