|
Understanding and using sin()
|
First and foremost: I hate maths. This hatred has been bred into me from an early age.
But I realise how important it is in game programming. So I want to understand =)
I want to make a sine wave in Graal. I would like to be able to put in a value for it's amplitude, it's frequency and the time it takes to complete a cycle.
Could someone be so awesome as to explain how this works to me using sin? Hopefully I'll be able to incorporate it into graal =) |
|