Skip to content

Instantly share code, notes, and snippets.

@RxET
Last active March 20, 2018 03:29
Show Gist options
  • Save RxET/dc02adcfbcd39ed930e3fb4595f9087a to your computer and use it in GitHub Desktop.
Save RxET/dc02adcfbcd39ed930e3fb4595f9087a to your computer and use it in GitHub Desktop.
Three.js or There’s a hypercube in my timeline and I can’t get out
//declare these variables in the global scope so our functions have access to them later
var scene;
var camera;
var box;
var renderer;
var controls;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment