Quote Originally Posted by fefenin View Post
ok i get it
i already try harder
will see
i ll tell you when it is done you could probably help me after to get it optimised


bye
That's better. And no 'free help' here...
Don't tell 'ME' when the code is done and don't expect 'ME' to help you optimize it.
Post to the whole 'FORUM' that the code is done and ask the whole 'FORUM' if anybody has any suggestions for optimizations.
And I don't see anything substantial in that code above...just a few statements testing this and that. It's like saying:
"I building a car. Here's a spare tire, a seat, and a steering wheel cover. Oh, I have to pick up a few things yet, but I'm practically done."
There's nothing about angles, nothing about integration, no 'real' math, etc.etc. I could go on and on...