Created
November 2, 2012 07:43
-
-
Save kaiquewdev/3999317 to your computer and use it in GitHub Desktop.
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
| var geometry = new THREE.CubeGeometry(1,1,1); | |
| var material = new THREE.MeshBasicMaterial({color: 0x00ff00}); | |
| var cube = new THREE.Mesh(geometry, material); | |
| scene.add(cube); | |
| camera.position.z = 5; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment