mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-09 04:56:01 +10:00
Updated README example.
This commit is contained in:
@@ -104,7 +104,7 @@ This code creates a camera, then creates a scene, adds a cube on it, creates a &
|
||||
|
||||
scene = new THREE.Scene();
|
||||
|
||||
geometry = new Cube( 200, 200, 200 );
|
||||
geometry = new THREE.Cube( 200, 200, 200 );
|
||||
material = new THREE.MeshBasicMaterial( { color: 0xff0000, wireframe: true } );
|
||||
|
||||
mesh = new THREE.Mesh( geometry, material );
|
||||
|
||||
Reference in New Issue
Block a user