Renegade Projects Network Forums

Full Version: A little trig tinkering
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hee. Behold, a table, of 512 sine calculations! Tongue

http://codepad.org/f0piWAH7

(I'm tinkering with my own ripple effect so I've came up with that little debug table during development.)
I'm sorry, I'm not seeing anything beyond Learning C 101 here...
Meh, I just put it up for the lols. But don't use the lockmallet on this, I intend to place the complete ripple drawing code once I'm done testing it.
Now, presenting *drum roll* VERY VERY FAST HORIZONTAL RIPPLES ON SDL! Wow

http://codepad.org/1rH6F1zq

[Image: animated.gif]

UPDATE: Included ZIP with Windows executable and source.