Created
March 12, 2014 07:06
-
-
Save jaycody/9502186 to your computer and use it in GitHub Desktop.
pro.KeyPressToggleSwitch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// KeyPress SpaceBar Toggle Switch | |
void keyPressed() { | |
if (key == ' '){ | |
showVectors = !showVectors; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment