SHARE
TWEET

Untitled

a guest Aug 9th, 2018 101 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void fade() {
  2.   brightness = brightness - fadeAmount;
  3.   if (brightness <= 0 || brightness >= MAX_BRIGHTNESS) {
  4.     fadeAmount = -fadeAmount;
  5.   }
  6. }
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