Browse Source

Updated ubiquity test example with new CylingerGeometry.

Mr.doob 14 years ago
parent
commit
cd760abfba
1 changed files with 2 additions and 1 deletions
  1. 2 1
      examples/misc_ubiquity_test.html

+ 2 - 1
examples/misc_ubiquity_test.html

@@ -194,8 +194,9 @@
 
 				// CYLINDER
 
-				mesh = new THREE.Mesh( new THREE.CylinderGeometry( 10, 20, 100, 200, - 50, - 20 ), new THREE.MeshBasicMaterial( { color: Math.random() * 0xffffff } ) );
+				mesh = new THREE.Mesh( new THREE.CylinderGeometry( 20, 100, 200, 10 ), new THREE.MeshBasicMaterial( { color: Math.random() * 0xffffff } ) );
 				mesh.position.x = -500;
+				mesh.rotation.x = - Math.PI / 2;
 				mesh.scale.x = mesh.scale.y = mesh.scale.z = 2;
 				scene.add( mesh );