|
Re: Math.h sin syntax error
The parentheses don't match, that's for sure. I'm no expert in C syntax, but the "float sin" part looks wrong too.
I'd create a lookup table in advance and use it instead of doing all that complicated and time-consuming calculation on the fly.
|