Created
September 11, 2013 14:51
-
-
Save ybigus/6524739 to your computer and use it in GitHub Desktop.
This file contains 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 cubeGeometry = new THREE.CubeGeometry(50,50,50); | |
var cubeMaterial = new THREE.MeshBasicMaterial({color: 0xff0000}); | |
var cube = new THREE.Mesh(cubeGeometry, cubeMaterial); | |
scene.add(cube); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment