Last active
February 3, 2019 17:09
-
-
Save Mamboleoo/717c0ed9cd405b77e520583b30a00297 to your computer and use it in GitHub Desktop.
Cube data [2D-3D]
This file contains hidden or 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
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