SHARE
TWEET

Untitled

a guest Jun 26th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. double freq;
  2. static double sine_rate;
  3.  
  4. sine_rate += freq;
  5. *var = (long) ( sin( sine_rate ) * 2142483647.0 );
  6.      
  7. double freq;
  8. static double sine_rate;
  9.  
  10. sine_rate += freq;
  11. *var = (long) ( sin( sine_rate * PI ) * 2142483647.0 );
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top