SHARE
TWEET

Untitled

a guest Jun 17th, 2014 203 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. boolean hasBeenDrawn = false;
  2.  
  3. void setup()
  4. {
  5. }
  6.  
  7. void draw()
  8. { if(hasBeenDrawn == false)
  9.   { // code in draw loop
  10.     hasBeenDrawn = true;
  11.   }
  12. }
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