Skip to content

Instantly share code, notes, and snippets.

@schell
Created April 10, 2014 14:39
Show Gist options
  • Save schell/10389398 to your computer and use it in GitHub Desktop.
Save schell/10389398 to your computer and use it in GitHub Desktop.
cube?
let vs = [ -1, 1, -1 -- Front face
, 1, 1, -1
, -1, -1, -1
, 1, -1, -1
, -1, 1, 1 -- Back face
, 1, 1, 1
, -1, -1, 1
, 1, -1, 1
]
@schell
Copy link
Author

schell commented Apr 10, 2014

Assuming x increasing right, y increasing up and z increasing out behind the screen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment