View Single Post
  #1  
Old 12-30-2009, 06:25 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
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 =)
Reply With Quote