2
0
Эх сурвалжийг харах

update weblgl_geometry_normals.html to show off partial LatheGeometries.

Ben Houston 12 жил өмнө
parent
commit
92c7bc8bcc

+ 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,