Skip to content

Instantly share code, notes, and snippets.

@Mamboleoo
Last active February 3, 2019 17:09
Show Gist options
  • Save Mamboleoo/717c0ed9cd405b77e520583b30a00297 to your computer and use it in GitHub Desktop.
Save Mamboleoo/717c0ed9cd405b77e520583b30a00297 to your computer and use it in GitHub Desktop.
Cube data [2D-3D]
const CUBE_VERTICES = [[-1, -1, -1],[1, -1, -1],[-1, 1, -1],[1, 1, -1],[-1, -1, 1],[1, -1, 1],[-1, 1, 1],[1, 1, 1]];
const CUBE_LINES = [[0, 1], [1, 3], [3, 2], [2, 0], [2, 6], [3, 7], [0, 4], [1, 5], [6, 7], [6, 4], [7, 5], [4, 5]];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment