Преглед на файлове

update weblgl_geometry_normals.html to show off partial LatheGeometries.

Ben Houston преди 12 години
родител
ревизия
92c7bc8bcc
променени са 1 файла, в които са добавени 12 реда и са изтрити 0 реда
  1. 12 0
      examples/webgl_geometry_normals.html

+ 12 - 0
examples/webgl_geometry_normals.html

@@ -83,6 +83,18 @@
 					new THREE.Vector3(0,10,0),
 					new THREE.Vector3(0,50,050),
 					new THREE.Vector3(0,0,100) ] ]},
+				{ type: 'LatheGeometry', args: [ [
+					new THREE.Vector3(0,0,-100),
+					new THREE.Vector3(0,50,-50),
+					new THREE.Vector3(0,10,0),
+					new THREE.Vector3(0,50,050),
+					new THREE.Vector3(0,0,100) ], 12, 0, Math.PI ] },
+				{ type: 'LatheGeometry', args: [ [
+					new THREE.Vector3(0,0,-100),
+					new THREE.Vector3(0,50,-50),
+					new THREE.Vector3(0,10,0),
+					new THREE.Vector3(0,50,050),
+					new THREE.Vector3(0,0,100) ], 12, Math.PI*2/3, Math.PI*3/2 ] },
 				{ type: 'TextGeometry', args: ['&', {
 										size: 200,
 										height: 50,