瀏覽代碼

Removed Geometry primitives.

Mr.doob 4 年之前
父節點
當前提交
c7a488cdb7
共有 83 個文件被更改,包括 165 次插入4470 次删除
  1. 0 80
      docs/api/en/geometries/BoxGeometry.html
  2. 0 71
      docs/api/en/geometries/CircleGeometry.html
  3. 0 72
      docs/api/en/geometries/ConeGeometry.html
  4. 0 73
      docs/api/en/geometries/CylinderGeometry.html
  5. 0 59
      docs/api/en/geometries/DodecahedronGeometry.html
  6. 0 113
      docs/api/en/geometries/ExtrudeGeometry.html
  7. 0 59
      docs/api/en/geometries/IcosahedronGeometry.html
  8. 0 77
      docs/api/en/geometries/LatheGeometry.html
  9. 0 59
      docs/api/en/geometries/OctahedronGeometry.html
  10. 0 72
      docs/api/en/geometries/ParametricGeometry.html
  11. 0 69
      docs/api/en/geometries/PlaneGeometry.html
  12. 0 66
      docs/api/en/geometries/PolyhedronGeometry.html
  13. 0 71
      docs/api/en/geometries/RingGeometry.html
  14. 0 83
      docs/api/en/geometries/ShapeGeometry.html
  15. 0 77
      docs/api/en/geometries/SphereGeometry.html
  16. 0 59
      docs/api/en/geometries/TetrahedronGeometry.html
  17. 0 176
      docs/api/en/geometries/TextGeometry.html
  18. 0 70
      docs/api/en/geometries/TorusGeometry.html
  19. 0 74
      docs/api/en/geometries/TorusKnotGeometry.html
  20. 0 111
      docs/api/en/geometries/TubeGeometry.html
  21. 0 81
      docs/api/zh/geometries/BoxGeometry.html
  22. 0 72
      docs/api/zh/geometries/CircleGeometry.html
  23. 0 72
      docs/api/zh/geometries/ConeGeometry.html
  24. 0 73
      docs/api/zh/geometries/CylinderGeometry.html
  25. 0 59
      docs/api/zh/geometries/DodecahedronGeometry.html
  26. 0 111
      docs/api/zh/geometries/ExtrudeGeometry.html
  27. 0 59
      docs/api/zh/geometries/IcosahedronGeometry.html
  28. 0 77
      docs/api/zh/geometries/LatheGeometry.html
  29. 0 62
      docs/api/zh/geometries/OctahedronGeometry.html
  30. 0 72
      docs/api/zh/geometries/ParametricGeometry.html
  31. 0 69
      docs/api/zh/geometries/PlaneGeometry.html
  32. 0 65
      docs/api/zh/geometries/PolyhedronGeometry.html
  33. 0 71
      docs/api/zh/geometries/RingGeometry.html
  34. 0 83
      docs/api/zh/geometries/ShapeGeometry.html
  35. 0 79
      docs/api/zh/geometries/SphereGeometry.html
  36. 0 59
      docs/api/zh/geometries/TetrahedronGeometry.html
  37. 0 174
      docs/api/zh/geometries/TextGeometry.html
  38. 0 70
      docs/api/zh/geometries/TorusGeometry.html
  39. 0 74
      docs/api/zh/geometries/TorusKnotGeometry.html
  40. 0 111
      docs/api/zh/geometries/TubeGeometry.html
  41. 0 40
      docs/list.json
  42. 165 8
      src/Three.Legacy.js
  43. 0 36
      src/geometries/BoxGeometry.d.ts
  44. 0 28
      src/geometries/BoxGeometry.js
  45. 0 30
      src/geometries/CircleGeometry.d.ts
  46. 0 25
      src/geometries/CircleGeometry.js
  47. 0 29
      src/geometries/ConeGeometry.d.ts
  48. 0 24
      src/geometries/ConeGeometry.js
  49. 0 42
      src/geometries/CylinderGeometry.d.ts
  50. 0 29
      src/geometries/CylinderGeometry.js
  51. 0 21
      src/geometries/DodecahedronGeometry.d.ts
  52. 0 23
      src/geometries/DodecahedronGeometry.js
  53. 0 17
      src/geometries/ExtrudeGeometry.d.ts
  54. 0 83
      src/geometries/ExtrudeGeometry.js
  55. 0 20
      src/geometries/Geometries.js
  56. 0 16
      src/geometries/IcosahedronGeometry.d.ts
  57. 0 24
      src/geometries/IcosahedronGeometry.js
  58. 0 32
      src/geometries/LatheGeometry.d.ts
  59. 0 26
      src/geometries/LatheGeometry.js
  60. 0 16
      src/geometries/OctahedronGeometry.d.ts
  61. 0 24
      src/geometries/OctahedronGeometry.js
  62. 0 23
      src/geometries/ParametricGeometry.d.ts
  63. 0 30
      src/geometries/ParametricGeometry.js
  64. 0 30
      src/geometries/PlaneGeometry.d.ts
  65. 0 26
      src/geometries/PlaneGeometry.js
  66. 0 30
      src/geometries/PolyhedronGeometry.d.ts
  67. 0 26
      src/geometries/PolyhedronGeometry.js
  68. 0 36
      src/geometries/RingGeometry.d.ts
  69. 0 28
      src/geometries/RingGeometry.js
  70. 0 20
      src/geometries/ShapeGeometry.d.ts
  71. 0 65
      src/geometries/ShapeGeometry.js
  72. 0 39
      src/geometries/SphereGeometry.d.ts
  73. 0 28
      src/geometries/SphereGeometry.js
  74. 0 16
      src/geometries/TetrahedronGeometry.d.ts
  75. 0 23
      src/geometries/TetrahedronGeometry.js
  76. 0 38
      src/geometries/TextGeometry.d.ts
  77. 0 40
      src/geometries/TextGeometry.js
  78. 0 33
      src/geometries/TorusGeometry.d.ts
  79. 0 26
      src/geometries/TorusGeometry.js
  80. 0 36
      src/geometries/TorusKnotGeometry.d.ts
  81. 0 29
      src/geometries/TorusKnotGeometry.js
  82. 0 33
      src/geometries/TubeGeometry.d.ts
  83. 0 38
      src/geometries/TubeGeometry.js

+ 0 - 80
docs/api/en/geometries/BoxGeometry.html

@@ -1,80 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>[name]</h1>
-
-		<p class="desc">BoxGeometry is a geometry class for a [link:https://en.wikipedia.org/wiki/Cuboid rectangular cuboid] with a given 'width', 'height', and 'depth'. On creation, the cuboid is centred on the origin, with each edge parallel to one of the axes.</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#BoxGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>Code Example</h2>
-
-		<code>const geometry = new THREE.BoxGeometry( 1, 1, 1 );
-		const material = new THREE.MeshBasicMaterial( {color: 0x00ff00} );
-		const cube = new THREE.Mesh( geometry, material );
-		scene.add( cube );
-		</code>
-
-		<h2>Constructor</h2>
-
-		<h3>[name]([param:Float width], [param:Float height], [param:Float depth], [param:Integer widthSegments], [param:Integer heightSegments], [param:Integer depthSegments])</h3>
-		<p>
-		width — Width; that is, the length of the edges parallel to the X axis. Optional; defaults to 1.<br />
-		height — Height; that is, the length of the edges parallel to the Y axis. Optional; defaults to 1.<br />
-		depth — Depth; that is, the length of the edges parallel to the Z axis. Optional; defaults to 1.<br />
-		widthSegments — Number of segmented rectangular faces along the width of the sides. Optional; defaults to 1.<br />
-		heightSegments — Number of segmented rectangular faces along the height of the sides. Optional; defaults to 1.<br />
-		depthSegments — Number of segmented rectangular faces along the depth of the sides. Optional; defaults to 1.<br />
-		</p>
-
-		<h2>Properties</h2>
-		<p>See the base [page:Geometry] class for common properties.</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-		An object with a property for each of the constructor parameters. Any modification after instantiation does not change the geometry.
-		</p>
- 		<p>
-		Using the above example:
-		<code>
-		geometry.parameters; // {width: 1, height: 1, depth: 1, widthSegments: undefined, heightSegments: undefined, depthSegments: undefined}
-		cube.geometry.parameters; // as above
-		cube.geometry.parameters.width; // === 1
-		cube.geometry.parameters.widthSegments; // === undefined.
-		</code>
-		</p>
-
-		<h2>Methods</h2>
-		<p>See the base [page:Geometry] class for common methods.</p>
-
-		<h2>Source</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 71
docs/api/en/geometries/CircleGeometry.html

@@ -1,71 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>[name]</h1>
-
-		<p class="desc">CircleGeometry is a simple shape of Euclidean geometry.  It is contructed from a number of triangular segments that are oriented around a central point and extend as far out as a given radius.  It is built counter-clockwise from a start angle and a given central angle.  It can also be used to create regular polygons, where the number of segments determines the number of sides.
-		</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#CircleGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>Code Example</h2>
-
-		<code>
-		const geometry = new THREE.CircleGeometry( 5, 32 );
-		const material = new THREE.MeshBasicMaterial( { color: 0xffff00 } );
-		const circle = new THREE.Mesh( geometry, material );
-		scene.add( circle );
-		</code>
-
-		<h2>Constructor</h2>
-
-		<h3>[name]([param:Float radius], [param:Integer segments], [param:Float thetaStart], [param:Float thetaLength])</h3>
-		<p>
-		radius — Radius of the circle, default = 1.<br />
-		segments — Number of segments (triangles), minimum = 3, default = 8.<br />
-		thetaStart — Start angle for first segment, default = 0 (three o'clock position).<br />
-		thetaLength — The central angle, often called theta, of the circular sector. The default is 2*Pi, which makes for a complete circle.
-		</p>
-
-		<h2>Properties</h2>
-		<p>See the base [page:Geometry] class for common properties.</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-		An object with a property for each of the constructor parameters. Any modification after instantiation does not change the geometry.
-		</p>
-
-		<h2>Methods</h2>
-		<p>See the base [page:Geometry] class for common methods.</p>
-
-		<h2>Source</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 72
docs/api/en/geometries/ConeGeometry.html

@@ -1,72 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr; [page:CylinderGeometry] &rarr;
-
-		<h1>[name]</h1>
-
-		<p class="desc">A class for generating cone geometries</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#ConeGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>Code Example</h2>
-
-		<code>const geometry = new THREE.ConeGeometry( 5, 20, 32 );
-		const material = new THREE.MeshBasicMaterial( {color: 0xffff00} );
-		const cone = new THREE.Mesh( geometry, material );
-		scene.add( cone );
-		</code>
-
-		<h2>Constructor</h2>
-
-		<h3>[name]([param:Float radius], [param:Float height], [param:Integer radialSegments], [param:Integer heightSegments], [param:Boolean openEnded], [param:Float thetaStart], [param:Float thetaLength])</h3>
-		<p>
-		radius — Radius of the cone at the base. Default is 1.<br />
-		height — Height of the cone. Default is 1.<br />
-		radialSegments — Number of segmented faces around the circumference of the cone. Default is 8<br />
-		heightSegments — Number of rows of faces along the height of the cone. Default is 1.<br />
-		openEnded — A Boolean indicating whether the base of the cone is open or capped. Default is false, meaning capped.<br />
-		thetaStart — Start angle for first segment, default = 0 (three o'clock position).<br />
-		thetaLength — The central angle, often called theta, of the circular sector. The default is 2*Pi, which makes for a complete cone.
-		</p>
-
-		<h2>Properties</h2>
-		<p>See the base [page:CylinderGeometry] class for common properties.</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-		An object with a property for each of the constructor parameters. Any modification after instantiation does not change the geometry.
-		</p>
-
-		<h2>Methods</h2>
-		<p>See the base [page:CylinderGeometry] class for common methods.</p>
-
-		<h2>Source</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 73
docs/api/en/geometries/CylinderGeometry.html

@@ -1,73 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>[name]</h1>
-
-		<p class="desc">A class for generating cylinder geometries</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#CylinderGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>Code Example</h2>
-
-		<code>const geometry = new THREE.CylinderGeometry( 5, 5, 20, 32 );
-		const material = new THREE.MeshBasicMaterial( {color: 0xffff00} );
-		const cylinder = new THREE.Mesh( geometry, material );
-		scene.add( cylinder );
-		</code>
-
-		<h2>Constructor</h2>
-
-		<h3>[name]([param:Float radiusTop], [param:Float radiusBottom], [param:Float height], [param:Integer radialSegments], [param:Integer heightSegments], [param:Boolean openEnded], [param:Float thetaStart], [param:Float thetaLength])</h3>
-		<p>
-		radiusTop — Radius of the cylinder at the top. Default is 1.<br />
-		radiusBottom — Radius of the cylinder at the bottom. Default is 1.<br />
-		height — Height of the cylinder. Default is 1.<br />
-		radialSegments — Number of segmented faces around the circumference of the cylinder. Default is 8<br />
-		heightSegments — Number of rows of faces along the height of the cylinder. Default is 1.<br />
-		openEnded — A Boolean indicating whether the ends of the cylinder are open or capped. Default is false, meaning capped.<br />
-		thetaStart — Start angle for first segment, default = 0 (three o'clock position).<br />
-		thetaLength — The central angle, often called theta, of the circular sector. The default is 2*Pi, which makes for a complete cylinder.
-		</p>
-
-		<h2>Properties</h2>
-		<p>See the base [page:Geometry] class for common properties.</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-		An object with a property for each of the constructor parameters. Any modification after instantiation does not change the geometry.
-		</p>
-
-		<h2>Methods</h2>
-		<p>See the base [page:Geometry] class for common methods.</p>
-
-		<h2>Source</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 59
docs/api/en/geometries/DodecahedronGeometry.html

@@ -1,59 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>[name]</h1>
-
-		<p class="desc">A class for generating a dodecahedron geometries.</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#DodecahedronGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>Constructor</h2>
-
-		<h3>[name]([param:Float radius], [param:Integer detail])</h3>
-		<p>
-		radius — Radius of the dodecahedron. Default is 1.<br />
-		detail — Default is 0. Setting this to a value greater than 0 adds vertices making it no longer a dodecahedron.
-		</p>
-
-		<h2>Properties</h2>
-		<p>See the base [page:Geometry] class for common properties.</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-		An object with a property for each of the constructor parameters. Any modification after instantiation does not change the geometry.
-		</p>
-
-		<h2>Methods</h2>
-		<p>See the base [page:Geometry] class for common methods.</p>
-
-		<h2>Source</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 113
docs/api/en/geometries/ExtrudeGeometry.html

@@ -1,113 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>[name]</h1>
-
-		<p class="desc">Creates extruded geometry from a path shape.</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#ExtrudeGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>Code Example</h2>
-
-
-		<code>
-		const length = 12, width = 8;
-
-		const shape = new THREE.Shape();
-		shape.moveTo( 0,0 );
-		shape.lineTo( 0, width );
-		shape.lineTo( length, width );
-		shape.lineTo( length, 0 );
-		shape.lineTo( 0, 0 );
-
-		const extrudeSettings = {
-			steps: 2,
-			depth: 16,
-			bevelEnabled: true,
-			bevelThickness: 1,
-			bevelSize: 1,
-			bevelOffset: 0,
-			bevelSegments: 1
-		};
-
-		const geometry = new THREE.ExtrudeGeometry( shape, extrudeSettings );
-		const material = new THREE.MeshBasicMaterial( { color: 0x00ff00 } );
-		const mesh = new THREE.Mesh( geometry, material ) ;
-		scene.add( mesh );
-		</code>
-
-
-		<h2>Constructor</h2>
-
-
-		<h3>[name]([param:Array shapes], [param:Object options])</h3>
-		<p>
-		shapes — Shape or an array of shapes. <br />
-		options — Object that can contain the following parameters.
-
-			<ul>
-				<li>curveSegments — int. Number of points on the curves. Default is 12.</li>
-				<li>steps — int. Number of points used for subdividing segments along the depth of the extruded spline. Default is 1.</li>
-				<li>depth — float. Depth to extrude the shape. Default is 100.</li>
-				<li>bevelEnabled — bool. Apply beveling to the shape. Default is true.</li>
-				<li>bevelThickness — float. How deep into the original shape the bevel goes. Default is 6.</li>
-				<li>bevelSize — float. Distance from the shape outline that the bevel extends. Default is bevelThickness - 2.</li>
-				<li>bevelOffset — float. Distance from the shape outline that the bevel starts. Default is 0.</li>
-				<li>bevelSegments — int. Number of bevel layers. Default is 3.</li>
-				<li>extrudePath — THREE.Curve. A 3D spline path along which the shape should be extruded. Bevels not supported for path extrusion.</li>
-				<li>UVGenerator —  Object. object that provides UV generator functions</li>
-			</ul>
-
-		</p>
-		<p>
-			This object extrudes a 2D shape to a 3D geometry.
-		</p>
-
-		<p>
-			When creating a Mesh with this geometry, if you'd like to have a separate material used for its face
-			and its extruded sides, you can use an array of materials. The first material will be
-			applied to the face; the second material will be applied to the sides.
-		</p>
-
-		<h2>Properties</h2>
-		<p>See the base [page:Geometry] class for common properties.</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-		An object with a property for each of the constructor parameters. Any modification after instantiation does not change the geometry.
-		</p>
-
-		<h2>Methods</h2>
-		<p>See the base [page:Geometry] class for common methods.</p>
-
-		<h2>Source</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 59
docs/api/en/geometries/IcosahedronGeometry.html

@@ -1,59 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>[name]</h1>
-
-		<p class="desc">A class for generating an icosahedron geometry.</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#IcosahedronGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>Constructor</h2>
-
-		<h3>[name]([param:Float radius], [param:Integer detail])</h3>
-		<p>
-		radius — Default is 1. <br />
-		detail — Default is 0.  Setting this to a value greater than 0 adds more vertices making it no longer an icosahedron.  When detail is greater than 1, it's effectively a sphere.
-		</p>
-
-		<h2>Properties</h2>
-		<p>See the base [page:Geometry] class for common properties.</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-		An object with a property for each of the constructor parameters. Any modification after instantiation does not change the geometry.
-		</p>
-
-		<h2>Methods</h2>
-		<p>See the base [page:Geometry] class for common methods.</p>
-
-		<h2>Source</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 77
docs/api/en/geometries/LatheGeometry.html

@@ -1,77 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>[name]</h1>
-
-		<p class="desc">Creates meshes with axial symmetry like vases. The lathe rotates around the Y axis.</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#LatheGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>Code Example</h2>
-
-		<code>
-		const points = [];
-		for ( let i = 0; i < 10; i ++ ) {
-			points.push( new THREE.Vector2( Math.sin( i * 0.2 ) * 10 + 5, ( i - 5 ) * 2 ) );
-		}
-		const geometry = new THREE.LatheGeometry( points );
-		const material = new THREE.MeshBasicMaterial( { color: 0xffff00 } );
-		const lathe = new THREE.Mesh( geometry, material );
-		scene.add( lathe );
-		</code>
-
-		<h2>Constructor</h2>
-
-		<h3>[name]([param:Array points], [param:Integer segments], [param:Float phiStart], [param:Float phiLength])</h3>
-		<p>
-		points — Array of Vector2s. The x-coordinate of each point must be greater than zero.<br />
-		segments — the number of circumference segments to generate. Default is 12.<br />
-		phiStart — the starting angle in radians. Default is 0.<br />
-		phiLength — the radian (0 to 2PI) range of the lathed section 2PI is a closed lathe, less than 2PI is a portion. Default is 2PI.
-		</p>
-		<p>
-		This creates a LatheGeometry based on the parameters.
-		</p>
-
-		<h2>Properties</h2>
-		<p>See the base [page:Geometry] class for common properties.</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-		An object with a property for each of the constructor parameters. Any modification after instantiation does not change the geometry.
-		</p>
-
-		<h2>Methods</h2>
-		<p>See the base [page:Geometry] class for common methods.</p>
-
-		<h2>Source</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 59
docs/api/en/geometries/OctahedronGeometry.html

@@ -1,59 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>[name]</h1>
-
-		<p class="desc">A class for generating an octahedron geometry.</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#OctahedronGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>Constructor</h2>
-
-		<h3>[name]([param:Float radius], [param:Integer detail])</h3>
-		<p>
-		radius — Radius of the octahedron. Default is 1.<br />
-		detail — Default is 0.  Setting this to a value greater than zero add vertices making it no longer an octahedron.
-		</p>
-
-		<h2>Properties</h2>
-		<p>See the base [page:Geometry] class for common properties.</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-		An object with a property for each of the constructor parameters. Any modification after instantiation does not change the geometry.
-		</p>
-
-		<h2>Methods</h2>
-		<p>See the base [page:Geometry] class for common methods.</p>
-
-		<h2>Source</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 72
docs/api/en/geometries/ParametricGeometry.html

@@ -1,72 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>[name]</h1>
-
-		<p class="desc">Generate geometry representing a parametric surface.</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#ParametricGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>Code Example</h2>
-
-		<code>
-		const geometry = new THREE.ParametricGeometry( THREE.ParametricGeometries.klein, 25, 25 );
-		const material = new THREE.MeshBasicMaterial( { color: 0x00ff00 } );
-		const klein = new THREE.Mesh( geometry, material );
-		scene.add( klein );
-		</code>
-
-
-		<h2>Constructor</h2>
-
-
-		<h3>[name]([param:Function func], [param:Integer slices], [param:Integer stacks])</h3>
-		<p>
-		func — A function that takes in a [page:Float u] and [page:Float v] value each between 0 and 1 and modifies a third [page:Vector3] argument<br />
-		slices — The count of slices to use for the parametric function <br />
-		stacks — The count of stacks to use for the parametric function
-		</p>
-
-
-		<h2>Properties</h2>
-		<p>See the base [page:Geometry] class for common properties.</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-		An object with a property for each of the constructor parameters. Any modification after instantiation does not change the geometry.
-		</p>
-
-		<h2>Methods</h2>
-		<p>See the base [page:Geometry] class for common methods.</p>
-
-		<h2>Source</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 69
docs/api/en/geometries/PlaneGeometry.html

@@ -1,69 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>[name]</h1>
-
-		<p class="desc">A class for generating plane geometries</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#PlaneGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>Code Example</h2>
-
-		<code>const geometry = new THREE.PlaneGeometry( 5, 20, 32 );
-		const material = new THREE.MeshBasicMaterial( {color: 0xffff00, side: THREE.DoubleSide} );
-		const plane = new THREE.Mesh( geometry, material );
-		scene.add( plane );
-		</code>
-
-		<h2>Constructor</h2>
-
-		<h3>[name]([param:Float width], [param:Float height], [param:Integer widthSegments], [param:Integer heightSegments])</h3>
-		<p>
-		width — Width along the X axis. Default is 1.<br />
-		height — Height along the Y axis. Default is 1.<br />
-		widthSegments — Optional. Default is 1. <br />
-		heightSegments — Optional. Default is 1.
-		</p>
-
-		<h2>Properties</h2>
-		<p>See the base [page:Geometry] class for common properties.</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-		An object with a property for each of the constructor parameters. Any modification after instantiation does not change the geometry.
-		</p>
-
-		<h2>Methods</h2>
-		<p>See the base [page:Geometry] class for common methods.</p>
-
-		<h2>Source</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 66
docs/api/en/geometries/PolyhedronGeometry.html

@@ -1,66 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>[name]</h1>
-
-		<p class="desc">
-			A polyhedron is a solid in three dimensions with flat faces. This class will take an array of vertices,
-			project them onto a sphere, and then divide them up to the desired level of detail.
-		</p>
-
-		<h2>Code Example</h2>
-<code>
-const verticesOfCube = [
-    -1,-1,-1,    1,-1,-1,    1, 1,-1,    -1, 1,-1,
-    -1,-1, 1,    1,-1, 1,    1, 1, 1,    -1, 1, 1,
-];
-
-const indicesOfFaces = [
-    2,1,0,    0,3,2,
-    0,4,7,    7,3,0,
-    0,1,5,    5,4,0,
-    1,2,6,    6,5,1,
-    2,3,7,    7,6,2,
-    4,5,6,    6,7,4
-];
-
-const geometry = new THREE.PolyhedronGeometry( verticesOfCube, indicesOfFaces, 6, 2 );
-</code>
-
-		<h2>Constructor</h2>
-
-
-		<h3>[name]([param:Array vertices], [param:Array indices], [param:Float radius], [param:Integer detail])</h3>
-		<p>
-		vertices — [page:Array] of points of the form [1,1,1, -1,-1,-1, ... ] <br />
-		indices — [page:Array] of indices that make up the faces of the form [0,1,2, 2,3,0, ... ] <br />
-		radius — [page:Float] - The radius of the final shape <br />
-		detail — [page:Integer] - How many levels to subdivide the geometry. The more detail, the smoother the shape.
-		</p>
-
-		<h2>Properties</h2>
-		<p>See the base [page:Geometry] class for common properties.</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-		An object with a property for each of the constructor parameters. Any modification after instantiation does not change the geometry.
-		</p>
-
-		<h2>Methods</h2>
-		<p>See the base [page:Geometry] class for common methods.</p>
-
-		<h2>Source</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 71
docs/api/en/geometries/RingGeometry.html

@@ -1,71 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>[name]</h1>
-
-		<p class="desc">A class for generating a two-dimensional ring geometry.</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#RingGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>Code Example</h2>
-
-		<code>const geometry = new THREE.RingGeometry( 1, 5, 32 );
-		const material = new THREE.MeshBasicMaterial( { color: 0xffff00, side: THREE.DoubleSide } );
-		const mesh = new THREE.Mesh( geometry, material );
-		scene.add( mesh );
-		</code>
-
-		<h2>Constructor</h2>
-
-		<h3>[name]([param:Float innerRadius], [param:Float outerRadius], [param:Integer thetaSegments], [param:Integer phiSegments], [param:Float thetaStart], [param:Float thetaLength])</h3>
-		<p>
-		innerRadius — Default is 0.5. <br />
-		outerRadius — Default is 1. <br />
-		thetaSegments — Number of segments.  A higher number means the ring will be more round.  Minimum is 3.  Default is 8. <br />
-		phiSegments — Minimum is 1.  Default is 8.<br />
-		thetaStart — Starting angle. Default is 0. <br />
-		thetaLength — Central angle.  Default is Math.PI * 2.
-		</p>
-
-		<h2>Properties</h2>
-		<p>See the base [page:Geometry] class for common properties.</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-		An object with a property for each of the constructor parameters. Any modification after instantiation does not change the geometry.
-		</p>
-
-		<h2>Methods</h2>
-		<p>See the base [page:Geometry] class for common methods.</p>
-
-		<h2>Source</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 83
docs/api/en/geometries/ShapeGeometry.html

@@ -1,83 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>[name]</h1>
-
-		<p class="desc">Creates an one-sided polygonal geometry from one or more path shapes.</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#ShapeGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-
-		<h2>Code Example</h2>
-
-
-		<code>
-		const x = 0, y = 0;
-
-		const heartShape = new THREE.Shape();
-
-		heartShape.moveTo( x + 5, y + 5 );
-		heartShape.bezierCurveTo( x + 5, y + 5, x + 4, y, x, y );
-		heartShape.bezierCurveTo( x - 6, y, x - 6, y + 7,x - 6, y + 7 );
-		heartShape.bezierCurveTo( x - 6, y + 11, x - 3, y + 15.4, x + 5, y + 19 );
-		heartShape.bezierCurveTo( x + 12, y + 15.4, x + 16, y + 11, x + 16, y + 7 );
-		heartShape.bezierCurveTo( x + 16, y + 7, x + 16, y, x + 10, y );
-		heartShape.bezierCurveTo( x + 7, y, x + 5, y + 5, x + 5, y + 5 );
-
-		const geometry = new THREE.ShapeGeometry( heartShape );
-		const material = new THREE.MeshBasicMaterial( { color: 0x00ff00 } );
-		const mesh = new THREE.Mesh( geometry, material ) ;
-		scene.add( mesh );
-		</code>
-
-		<h2>Constructor</h2>
-
-
-		<h3>[name]([param:Array shapes], [param:Integer curveSegments])</h3>
-		<p>
-		shapes — [page:Array] of shapes or a single [page:Shape shape].<br />
-		curveSegments - [page:Integer] - Number of segments per shape. Default is 12.
-		</p>
-
-		<h2>Properties</h2>
-		<p>See the base [page:Geometry] class for common properties.</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-		An object with a property for each of the constructor parameters. Any modification after instantiation does not change the geometry.
-		</p>
-
-		<h2>Methods</h2>
-		<p>See the base [page:Geometry] class for common methods.</p>
-
-		<h2>Source</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 77
docs/api/en/geometries/SphereGeometry.html

@@ -1,77 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>[name]</h1>
-
-		<p class="desc">A class for generating sphere geometries</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#SphereGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>Code Example</h2>
-
-		<code>const geometry = new THREE.SphereGeometry( 5, 32, 32 );
-		const material = new THREE.MeshBasicMaterial( {color: 0xffff00} );
-		const sphere = new THREE.Mesh( geometry, material );
-		scene.add( sphere );
-		</code>
-
-		<h2>Constructor</h2>
-
-		<h3>[name]([param:Float radius], [param:Integer widthSegments], [param:Integer heightSegments], [param:Float phiStart], [param:Float phiLength], [param:Float thetaStart], [param:Float thetaLength])</h3>
-
-		<p>
-		radius — sphere radius. Default is 1.<br />
-		widthSegments — number of horizontal segments. Minimum value is 3, and the default is 8.<br />
-		heightSegments — number of vertical segments. Minimum value is 2, and the default is 6.<br />
-		phiStart — specify horizontal starting angle. Default is 0.<br />
-		phiLength — specify horizontal sweep angle size. Default is Math.PI * 2.<br />
-		thetaStart — specify vertical starting angle. Default is 0.<br />
-		thetaLength — specify vertical sweep angle size. Default is Math.PI.<br />
-		</p>
-
-		<p>
-		The geometry is created by sweeping and calculating vertexes around the Y axis (horizontal sweep) and the Z axis (vertical sweep). Thus, incomplete spheres (akin to <em>'sphere slices'</em>) can be created through the use of different values of phiStart, phiLength, thetaStart and thetaLength, in order to define the points in which we start (or end) calculating those vertices.
-		</p>
-
-		<h2>Properties</h2>
-		<p>See the base [page:Geometry] class for common properties.</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-		An object with a property for each of the constructor parameters. Any modification after instantiation does not change the geometry.
-		</p>
-
-		<h2>Methods</h2>
-		<p>See the base [page:Geometry] class for common methods.</p>
-
-		<h2>Source</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 59
docs/api/en/geometries/TetrahedronGeometry.html

@@ -1,59 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>[name]</h1>
-
-		<p class="desc">A class for generating a tetrahedron geometries.</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#TetrahedronGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>Constructor</h2>
-
-		<h3>[name]([param:Float radius], [param:Integer detail])</h3>
-		<p>
-		radius — Radius of the tetrahedron. Default is 1.<br />
-		detail — Default is 0. Setting this to a value greater than 0 adds vertices making it no longer a tetrahedron.
-		</p>
-
-		<h2>Properties</h2>
-		<p>See the base [page:Geometry] class for common properties.</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-		An object with a property for each of the constructor parameters. Any modification after instantiation does not change the geometry.
-		</p>
-
-		<h2>Methods</h2>
-		<p>See the base [page:Geometry] class for common methods.</p>
-
-		<h2>Source</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 176
docs/api/en/geometries/TextGeometry.html

@@ -1,176 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr; [page:ExtrudeGeometry] &rarr;
-
-		<h1>[name]</h1>
-
-		<p class="desc">
-			A class for generating text as a single geometry. It is constructed by providing a string of text, and a hash of
-			parameters consisting of a loaded [page:Font] and settings for the geometry's parent [page:ExtrudeGeometry].
-			See the [page:Font], [page:FontLoader] and [page:Creating-Text] pages for additional details.
-		</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#TextGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>Code Example</h2>
-
-		<code>
-		const loader = new THREE.FontLoader();
-
-		loader.load( 'fonts/helvetiker_regular.typeface.json', function ( font ) {
-
-			const geometry = new THREE.TextGeometry( 'Hello three.js!', {
-				font: font,
-				size: 80,
-				height: 5,
-				curveSegments: 12,
-				bevelEnabled: true,
-				bevelThickness: 10,
-				bevelSize: 8,
-				bevelOffset: 0,
-				bevelSegments: 5
-			} );
-		} );
-		</code>
-
-		<h2>Examples</h2>
-
-		<p>
-		[example:webgl_geometry_text geometry / text ]
-		</p>
-
-		<h2>Constructor</h2>
-
-		<h3>[name]([param:String text], [param:Object parameters])</h3>
-		<p>
-		text — The text that needs to be shown. <br />
-		parameters — Object that can contains the following parameters.
-		<ul>
-			<li>font — an instance of THREE.Font.</li>
-			<li>size — Float. Size of the text. Default is 100.</li>
-			<li>height — Float. Thickness to extrude text.  Default is 50.</li>
-			<li>curveSegments — Integer. Number of points on the curves. Default is 12.</li>
-			<li>bevelEnabled — Boolean. Turn on bevel. Default is False.</li>
-			<li>bevelThickness — Float. How deep into text bevel goes. Default is 10.</li>
-			<li>bevelSize — Float. How far from text outline is bevel. Default is 8.</li>
-			<li>bevelOffset — Float. How far from text outline bevel starts. Default is 0.</li>
-			<li>bevelSegments — Integer. Number of bevel segments. Default is 3.</li>
-		</ul>
-		</p>
-
-		<h2>Available Fonts</h2>
-
-		<p>
-		TextGeometry uses <a href='http://gero3.github.io/facetype.js/' target="_top">typeface.json</a> generated fonts.
-		Some existing fonts can be found located in <b>/examples/fonts</b> and must be included in the page.
-		</p>
-		<table>
-			<tr>
-				<th>Font</th>
-				<th>Weight</th>
-				<th>Style</th>
-				<th>File Path</th>
-			</tr>
-			<tr>
-				<td>helvetiker</td>
-				<td>normal</td>
-				<td>normal</td>
-				<td>/examples/fonts/helvetiker_regular.typeface.json</td>
-			</tr>
-			<tr>
-				<td>helvetiker</td>
-				<td>bold</td>
-				<td>normal</td>
-				<td>/examples/fonts/helvetiker_bold.typeface.json</td>
-			</tr>
-			<tr>
-				<td>optimer</td>
-				<td>normal</td>
-				<td>normal</td>
-				<td>/examples/fonts/optimer_regular.typeface.json</td>
-			</tr>
-			<tr>
-				<td>optimer</td>
-				<td>bold</td>
-				<td>normal</td>
-				<td>/examples/fonts/optimer_bold.typeface.json</td>
-			</tr>
-			<tr>
-				<td>gentilis</td>
-				<td>normal</td>
-				<td>normal</td>
-				<td>/examples/fonts/gentilis_regular.typeface.json</td>
-			</tr>
-			<tr>
-				<td>gentilis</td>
-				<td>bold</td>
-				<td>normal</td>
-				<td>/examples/fonts/gentilis_bold.typeface.json</td>
-			</tr>
-			<tr>
-				<td>droid sans</td>
-				<td>normal</td>
-				<td>normal</td>
-				<td>/examples/fonts/droid/droid_sans_regular.typeface.json</td>
-			</tr>
-			<tr>
-				<td>droid sans</td>
-				<td>bold</td>
-				<td>normal</td>
-				<td>/examples/fonts/droid/droid_sans_bold.typeface.json</td>
-			</tr>
-			<tr>
-				<td>droid serif</td>
-				<td>normal</td>
-				<td>normal</td>
-				<td>/examples/fonts/droid/droid_serif_regular.typeface.json</td>
-			</tr>
-			<tr>
-				<td>droid serif</td>
-				<td>bold</td>
-				<td>normal</td>
-				<td>/examples/fonts/droid/droid_serif_bold.typeface.json</td>
-			</tr>
-		</table>
-
-		<h2>Properties</h2>
-		<p>See the base [page:ExtrudeGeometry] class for common properties.</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-		An object with a property for each of the constructor parameters. Any modification after instantiation does not change the geometry.
-		</p>
-
-		<h2>Methods</h2>
-		<p>See the base [page:ExtrudeGeometry] class for common methods.</p>
-
-		<h2>Source</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 70
docs/api/en/geometries/TorusGeometry.html

@@ -1,70 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>[name]</h1>
-
-		<p class="desc">A class for generating torus geometries</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#TorusGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>Code Example</h2>
-
-		<code>const geometry = new THREE.TorusGeometry( 10, 3, 16, 100 );
-		const material = new THREE.MeshBasicMaterial( { color: 0xffff00 } );
-		const torus = new THREE.Mesh( geometry, material );
-		scene.add( torus );
-		</code>
-
-		<h2>Constructor</h2>
-
-		<h3>[name]([param:Float radius], [param:Float tube], [param:Integer radialSegments], [param:Integer tubularSegments], [param:Float arc])</h3>
-		<p>
-		radius - Radius of the torus, from the center of the torus to the center of the tube. Default is 1. <br />
-		tube — Radius of the tube.  Default is 0.4. <br />
-		radialSegments — Default is 8 <br />
-		tubularSegments — Default is 6. <br />
-		arc — Central angle.  Default is Math.PI * 2.
-		</p>
-
-		<h2>Properties</h2>
-		<p>See the base [page:Geometry] class for common properties.</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-		An object with a property for each of the constructor parameters. Any modification after instantiation does not change the geometry.
-		</p>
-
-		<h2>Methods</h2>
-		<p>See the base [page:Geometry] class for common methods.</p>
-
-		<h2>Source</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 74
docs/api/en/geometries/TorusKnotGeometry.html

@@ -1,74 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>[name]</h1>
-
-		<p class="desc">Creates a torus knot, the particular shape of which is defined by a pair of coprime integers, p and q.  If p and q are not coprime, the result will be a torus link.</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#TorusKnotGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>Code Example</h2>
-
-		<code>const geometry = new THREE.TorusKnotGeometry( 10, 3, 100, 16 );
-		const material = new THREE.MeshBasicMaterial( { color: 0xffff00 } );
-		const torusKnot = new THREE.Mesh( geometry, material );
-		scene.add( torusKnot );
-		</code>
-
-		<h2>Constructor</h2>
-
-		<h3>[name]([param:Float radius], [param:Float tube], [param:Integer tubularSegments], [param:Integer radialSegments], [param:Integer p], [param:Integer q])</h3>
-		<p>
-			<ul>
-				<li>radius - Radius of the torus. Default is 1.</li>
-				<li>tube — Radius of the tube. Default is 0.4.</li>
-				<li>tubularSegments — Default is 64.</li>
-				<li>radialSegments — Default is 8.</li>
-				<li>p — This value determines, how many times the geometry winds around its axis of rotational symmetry. Default is 2.</li>
-				<li>q — This value determines, how many times the geometry winds around a circle in the interior of the torus. Default is 3.</li>
-			</ul>
-		</p>
-
-		<h2>Properties</h2>
-		<p>See the base [page:Geometry] class for common properties.</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-		An object with a property for each of the constructor parameters. Any modification after instantiation does not change the geometry.
-		</p>
-
-		<h2>Methods</h2>
-		<p>See the base [page:Geometry] class for common methods.</p>
-
-
-		<h2>Source</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 111
docs/api/en/geometries/TubeGeometry.html

@@ -1,111 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>[name]</h1>
-
-		<p class="desc">Creates a tube that extrudes along a 3d curve.</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#TubeGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>Code Example</h2>
-
-		<code>
-		class CustomSinCurve extends THREE.Curve {
-
-			constructor( scale = 1 ) {
-
-				super();
-
-				this.scale = scale;
-
-			}
-
-			getPoint( t, optionalTarget = new THREE.Vector3() ) {
-
-				const tx = t * 3 - 1.5;
-				const ty = Math.sin( 2 * Math.PI * t );
-				const tz = 0;
-
-				return optionalTarget.set( tx, ty, tz ).multiplyScalar( this.scale );
-
-			}
-
-		}
-
-		const path = new CustomSinCurve( 10 );
-		const geometry = new THREE.TubeGeometry( path, 20, 2, 8, false );
-		const material = new THREE.MeshBasicMaterial( { color: 0x00ff00 } );
-		const mesh = new THREE.Mesh( geometry, material );
-		scene.add( mesh );
-		</code>
-
-		<h2>Constructor</h2>
-
-
-		<h3>[name]([param:Curve path], [param:Integer tubularSegments], [param:Float radius], [param:Integer radialSegments], [param:Boolean closed])</h3>
-		<p>
-		path — [page:Curve] - A 3D path that inherits from the [page:Curve] base class<br />
-		tubularSegments — [page:Integer] - The number of segments that make up the tube, default is 64<br />
-		radius — [page:Float] - The radius of the tube, default is 1<br />
-		radialSegments — [page:Integer] - The number of segments that make up the cross-section, default is 8 <br />
-		closed — [page:Boolean] Is the tube open or closed, default is false <br />
-		</p>
-
-
-		<h2>Properties</h2>
-		<p>See the base [page:Geometry] class for common properties.</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-		An object with a property for each of the constructor parameters. Any modification after instantiation does not change the geometry.
-		</p>
-
-		<h3>[property:Array tangents]</h3>
-		<p>
-		An array of [page:Vector3] tangents
-		</p>
-
-		<h3>[property:Array normals]</h3>
-		<p>
-		An array of [page:Vector3] normals
-		</p>
-
-		<h3>[property:Array binormals]</h3>
-		<p>
-		An array of [page:Vector3] binormals
-		</p>
-
-		<h2>Methods</h2>
-		<p>See the base [page:Geometry] class for common methods.</p>
-
-		<h2>Source</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 81
docs/api/zh/geometries/BoxGeometry.html

@@ -1,81 +0,0 @@
-<!DOCTYPE html>
-<html lang="zh">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>立方几何体([name])</h1>
-
-		<p class="desc">
-			BoxGeometry是四边形的原始几何类,它通常使用构造函数所提供的“width”、“height”、“depth”参数来创建立方体或者不规则四边形。</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#BoxGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>代码示例</h2>
-
-		<code>const geometry = new THREE.BoxGeometry( 1, 1, 1 );
-		const material = new THREE.MeshBasicMaterial( {color: 0x00ff00} );
-		const cube = new THREE.Mesh( geometry, material );
-		scene.add( cube );
-		</code>
-
-		<h2>构造器</h2>
-
-		<h3>[name]([param:Float width], [param:Float height], [param:Float depth], [param:Integer widthSegments], [param:Integer heightSegments], [param:Integer depthSegments])</h3>
-		<p>
-				width — X轴上面的宽度,默认值为1。<br />
-				height — Y轴上面的高度,默认值为1。<br />
-				depth — Z轴上面的深度,默认值为1。<br />
-				widthSegments — (可选)宽度的分段数,默认值是1。<br />
-				heightSegments — (可选)宽度的分段数,默认值是1。<br />
-				depthSegments — (可选)宽度的分段数,默认值是1。
-		</p>
-
-		<h2>属性</h2>
-		<p>共有属性请参见其基类[page:Geometry]。</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-				一个包含着构造函数中每个参数的对象。在对象实例化之后,对该属性的任何修改都不会改变这个几何体。
-			</p>
- 		<p>
-				使用上面的示例代码来作为基础:
-				<code>
-				geometry.parameters; // outputs an object {width: 1, height: 1, depth: 1, widthSegments: undefined, heightSegments: undefined}
-				cube.geometry.parameters; // as above
-				cube.geometry.parameters.width; // === 1
-				cube.geometry.parameters.widthSegments // === undefined.
-			</code>
- 		</p>
-
-		<h2>方法(Methods)</h2>
-		<p>共有方法请参见其基类[page:Geometry]。</p>
-
-		<h2>源代码</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 72
docs/api/zh/geometries/CircleGeometry.html

@@ -1,72 +0,0 @@
-<!DOCTYPE html>
-<html lang="zh">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>圆形几何体([name])</h1>
-
-		<p class="desc">CircleGeometry是欧式几何的一个简单形状,它由围绕着一个中心点的三角分段的数量所构造,由给定的半径来延展。
-			同时它也可以用于创建规则多边形,其分段数量取决于该规则多边形的边数。
-		</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#CircleGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>代码示例</h2>
-
-		<code>
-		const geometry = new THREE.CircleGeometry( 5, 32 );
-		const material = new THREE.MeshBasicMaterial( { color: 0xffff00 } );
-		const circle = new THREE.Mesh( geometry, material );
-		scene.add( circle );
-		</code>
-
-		<h2>构造器</h2>
-
-		<h3>[name]([param:Float radius], [param:Integer segments], [param:Float thetaStart], [param:Float thetaLength])</h3>
-		<p>
-			radius — 圆形的半径,默认值为1<br />
-			segments — 分段(三角面)的数量,最小值为3,默认值为8。<br />
-			thetaStart — 第一个分段的起始角度,默认为0。(three o'clock position)<br />
-			thetaLength — 圆形扇区的中心角,通常被称为“θ”(西塔)。默认值是2*Pi,这使其成为一个完整的圆。
-		</p>
-
-		<h2>属性</h2>
-		<p>共有属性请参见其基类[page:Geometry]。</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-				一个包含着构造函数中每个参数的对象。在对象实例化之后,对该属性的任何修改都不会改变这个几何体。
-		</p>
-
-		<h2>方法(Methods)</h2>
-		<p>共有方法请参见其基类[page:Geometry]。</p>
-
-		<h2>源代码</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 72
docs/api/zh/geometries/ConeGeometry.html

@@ -1,72 +0,0 @@
-<!DOCTYPE html>
-<html lang="zh">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:CylinderGeometry] &rarr;
-
-		<h1>圆锥几何体([name])</h1>
-
-		<p class="desc">一个用于生成圆锥几何体的类。</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#ConeGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>代码示例</h2>
-
-		<code>const geometry = new THREE.ConeGeometry( 5, 20, 32 );
-		const material = new THREE.MeshBasicMaterial( {color: 0xffff00} );
-		const cone = new THREE.Mesh( geometry, material );
-		scene.add( cone );
-		</code>
-
-		<h2>构造器</h2>
-
-		<h3>[name]([param:Float radius], [param:Float height], [param:Integer radialSegments], [param:Integer heightSegments], [param:Boolean openEnded], [param:Float thetaStart], [param:Float thetaLength])</h3>
-		<p>
-				radius — 圆锥底部的半径,默认值为1。<br />
-				height — 圆锥的高度,默认值为1。<br />
-				radialSegments — 圆锥侧面周围的分段数,默认为8。<br />
-				heightSegments — 圆锥侧面沿着其高度的分段数,默认值为1。<br />
-				openEnded — 一个Boolean值,指明该圆锥的底面是开放的还是封顶的。默认值为false,即其底面默认是封顶的。<br />
-				thetaStart — 第一个分段的起始角度,默认为0。(three o'clock position)<br />
-				thetaLength — 圆锥底面圆扇区的中心角,通常被称为“θ”(西塔)。默认值是2*Pi,这使其成为一个完整的圆锥。
-		</p>
-
-		<h2>属性</h2>
-		<p>共有属性请参见其基类[page:CylinderGeometry]。</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-				一个包含着构造函数中每个参数的对象。在对象实例化之后,对该属性的任何修改都不会改变这个几何体。
-		</p>
-
-		<h2>方法(Methods)</h2>
-		<p>共有方法请参见其基类[page:Geometry]。</p>
-
-		<h2>Source</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 73
docs/api/zh/geometries/CylinderGeometry.html

@@ -1,73 +0,0 @@
-<!DOCTYPE html>
-<html lang="zh">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>圆柱几何体([name])</h1>
-
-		<p class="desc">一个用于生成圆柱几何体的类</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#CylinderGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>代码示例</h2>
-
-		<code>const geometry = new THREE.CylinderGeometry( 5, 5, 20, 32 );
-		const material = new THREE.MeshBasicMaterial( {color: 0xffff00} );
-		const cylinder = new THREE.Mesh( geometry, material );
-		scene.add( cylinder );
-		</code>
-
-		<h2>构造器</h2>
-
-		<h3>[name]([param:Float radiusTop], [param:Float radiusBottom], [param:Float height], [param:Integer radialSegments], [param:Integer heightSegments], [param:Boolean openEnded], [param:Float thetaStart], [param:Float thetaLength])</h3>
-		<p>
-				radiusTop — 圆柱的顶部半径,默认值是1。<br />
-				radiusBottom — 圆柱的底部半径,默认值是1。<br />
-				height — 圆柱的高度,默认值是1。<br />
-				radialSegments —  圆柱侧面周围的分段数,默认为8。<br />
-				heightSegments — 圆柱侧面沿着其高度的分段数,默认值为1。<br />
-				openEnded — 一个Boolean值,指明该圆锥的底面是开放的还是封顶的。默认值为false,即其底面默认是封顶的。<br />
-				thetaStart — 第一个分段的起始角度,默认为0。(three o'clock position)<br />
-				thetaLength — 圆柱底面圆扇区的中心角,通常被称为“θ”(西塔)。默认值是2*Pi,这使其成为一个完整的圆柱。
-		</p>
-
-		<h2>属性</h2>
-		<p>共有属性请参见其基类[page:Geometry]。</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-				一个包含着构造函数中每个参数的对象。在对象实例化之后,对该属性的任何修改都不会改变这个几何体。
-		</p>
-
-		<h2>方法(Methods)</h2>
-		<p>共有方法请参见其基类[page:Geometry]。</p>
-
-		<h2>源代码</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 59
docs/api/zh/geometries/DodecahedronGeometry.html

@@ -1,59 +0,0 @@
-<!DOCTYPE html>
-<html lang="zh">
-
-<head>
-	<meta charset="utf-8" />
-	<base href="../../../" />
-	<script src="page.js"></script>
-	<link type="text/css" rel="stylesheet" href="page.css" />
-</head>
-
-<body>
-	[page:Geometry] &rarr;
-
-	<h1>十二面几何体([name])</h1>
-
-	<p class="desc">A class for generating a dodecahedron geometries.</p>
-
-	<iframe id="scene" src="scenes/geometry-browser.html#DodecahedronGeometry"></iframe>
-
-	<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-	</script>
-	<h2>构造器</h2>
-
-	<h3>[name]([param:Float radius], [param:Integer detail])</h3>
-	<p>
-		radius — 十二面体的半径,默认值为1。<br />
-		detail — 默认值为0。将这个值设为一个大于0的数将会为它增加一些顶点,使其不再是一个十二面体。
-	</p>
-
-	<h2>属性</h2>
-	<p>共有属性请参见其基类[page:Geometry]。</p>
-
-	<h3>[property:Object parameters]</h3>
-	<p>
-			一个包含着构造函数中每个参数的对象。在对象实例化之后,对该属性的任何修改都不会改变这个几何体。
-	</p>
-
-	<h2>方法(Methods)</h2>
-	<p>共有方法请参见其基类[page:Geometry]。</p>
-
-	<h2>源代码</h2>
-
-	[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-</body>
-
-</html>

+ 0 - 111
docs/api/zh/geometries/ExtrudeGeometry.html

@@ -1,111 +0,0 @@
-<!DOCTYPE html>
-<html lang="zh">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>挤压几何体([name])</h1>
-
-		<p class="desc">从一条形状路径中,挤压出一个Geometry。</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#ExtrudeGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>代码示例</h2>
-
-
-		<code>
-		const length = 12, width = 8;
-
-		const shape = new THREE.Shape();
-		shape.moveTo( 0,0 );
-		shape.lineTo( 0, width );
-		shape.lineTo( length, width );
-		shape.lineTo( length, 0 );
-		shape.lineTo( 0, 0 );
-
-		const extrudeSettings = {
-			steps: 2,
-			depth: 16,
-			bevelEnabled: true,
-			bevelThickness: 1,
-			bevelSize: 1,
-			bevelOffset: 0,
-			bevelSegments: 1
-		};
-
-		const geometry = new THREE.ExtrudeGeometry( shape, extrudeSettings );
-		const material = new THREE.MeshBasicMaterial( { color: 0x00ff00 } );
-		const mesh = new THREE.Mesh( geometry, material ) ;
-		scene.add( mesh );
-		</code>
-
-
-		<h2>构造器</h2>
-
-
-		<h3>[name]([param:Array shapes], [param:Object options])</h3>
-		<p>shapes — 形状或者一个包含形状的数组。<br />
-			options — 一个包含有下列参数的对象:
-
-			<ul>
-				<li>curveSegments — int,曲线上点的数量,默认值是12。</li>
-				<li>steps — int,用于沿着挤出样条的深度细分的点的数量,默认值为1。</li>
-				<li>depth — float,挤出的形状的深度,默认值为100。</li>
-				<li>bevelEnabled — bool,对挤出的形状应用是否斜角,默认值为true。</li>
-				<li>bevelThickness — float,设置原始形状上斜角的厚度。默认值为6。</li>
-				<li>bevelSize — float。斜角与原始形状轮廓之间的延伸距离,默认值为bevelThickness-2。</li>
-				<li>bevelOffset — float. Distance from the shape outline that the bevel starts. Default is 0.</li>
-				<li>bevelSegments — int。斜角的分段层数,默认值为3。</li>
-				<li>extrudePath — THREE.Curve对象。一条沿着被挤出形状的三维样条线。Bevels not supported for path extrusion.</li>
-				<li>UVGenerator —  Object。提供了UV生成器函数的对象。</li>
-			</ul>
-
-		</p>
-		<p>
-				该对象将一个二维形状挤出为一个三维几何体。
-			</p>
-
-		<p>
-				当使用这个几何体创建Mesh的时候,如果你希望分别对它的表面和它挤出的侧面使用单独的材质,你可以使用一个材质数组。
-				第一个材质将用于其表面;第二个材质则将用于其挤压出的侧面。
-		</p>
-
-		<h2>属性</h2>
-		<p>共有属性请参见其基类[page:Geometry]。</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-			一个包含着构造函数中每个参数的对象。在对象实例化之后,对该属性的任何修改都不会改变这个几何体。
-		</p>
-
-		<h2>方法(Methods)</h2>
-		<p>共有方法请参见其基类[page:Geometry]。</p>
-
-		<h2>源代码</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 59
docs/api/zh/geometries/IcosahedronGeometry.html

@@ -1,59 +0,0 @@
-<!DOCTYPE html>
-<html lang="zh">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>二十面几何体([name])</h1>
-
-		<p class="desc">一个用于生成二十面体的类。</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#IcosahedronGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>构造器</h2>
-
-		<h3>[name]([param:Float radius], [param:Integer detail])</h3>
-		<p>
-			radius — 二十面体的半径,默认为1。 <br />
-			detail — 默认值为0。将这个值设为一个大于0的数将会为它增加一些顶点,使其不再是一个二十面体。当这个值大于1的时候,实际上它将变成一个球体。
-		</p>
-
-		<h2>属性</h2>
-		<p>共有属性请参见其基类[page:Geometry]。</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-				一个包含着构造函数中每个参数的对象。在对象实例化之后,对该属性的任何修改都不会改变这个几何体。
-		</p>
-
-		<h2>方法(Methods)</h2>
-		<p>共有方法请参见其基类[page:Geometry]。</p>
-
-		<h2>源代码</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 77
docs/api/zh/geometries/LatheGeometry.html

@@ -1,77 +0,0 @@
-<!DOCTYPE html>
-<html lang="zh">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>车削几何体([name])</h1>
-
-		<p class="desc">创建具有轴对称性的网格,比如花瓶。车削绕着Y轴来进行旋转。</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#LatheGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>代码示例</h2>
-
-		<code>
-		const points = [];
-		for ( let i = 0; i < 10; i ++ ) {
-			points.push( new THREE.Vector2( Math.sin( i * 0.2 ) * 10 + 5, ( i - 5 ) * 2 ) );
-		}
-		const geometry = new THREE.LatheGeometry( points );
-		const material = new THREE.MeshBasicMaterial( { color: 0xffff00 } );
-		const lathe = new THREE.Mesh( geometry, material );
-		scene.add( lathe );
-		</code>
-
-		<h2>构造器</h2>
-
-		<h3>[name]([param:Array points], [param:Integer segments], [param:Float phiStart], [param:Float phiLength])</h3>
-		<p>
-		points — 一个Vector2对象数组。每个点的X坐标必须大于0。<br />
-		segments — 要生成的车削几何体圆周分段的数量,默认值是12。<br />
-		phiStart — 以弧度表示的起始角度,默认值为0。<br />
-		phiLength — 车削部分的弧度(0-2PI)范围,2PI将是一个完全闭合的、完整的车削几何体,小于2PI是部分车削。默认值是2PI。
-		</p>
-		<p>
-		基于参数创建一个LatheGeometry。
-		</p>
-
-		<h2>属性</h2>
-		<p>共有属性请参见其基类[page:Geometry]。</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-		一个包含着构造函数中每个参数的对象。在对象实例化之后,对该属性的任何修改都不会改变这个几何体。
-		</p>
-
-		<h2>方法(Methods)</h2>
-		<p>共有方法请参见其基类[page:Geometry]。</p>
-
-		<h2>源代码</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 62
docs/api/zh/geometries/OctahedronGeometry.html

@@ -1,62 +0,0 @@
-<!DOCTYPE html>
-<html lang="zh">
-
-<head>
-	<meta charset="utf-8" />
-	<base href="../../../" />
-	<script src="page.js"></script>
-	<link type="text/css" rel="stylesheet" href="page.css" />
-</head>
-
-<body>
-	[page:Geometry] &rarr;
-
-	<h1>八面几何体([name])</h1>
-
-	<p class="desc">一个用于创建八面体的类。</p>
-
-	<iframe id="scene" src="scenes/geometry-browser.html#OctahedronGeometry"></iframe>
-
-	<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-	</script>
-
-	<h2>构造器</h2>
-
-	<h3>[name]([param:Float radius], [param:Integer detail])</h3>
-	<p>
-		radius — 八面体的半径,默认值为1。<br />
-		detail — 默认值为0,将这个值设为一个大于0的数将会为它增加一些顶点,使其不再是一个八面体。
-	</p>
-
-	<h2>属性</h2>
-	<p>共有属性请参见其基类[page:Geometry]。</p>
-
-	<h3>[property:Object parameters]</h3>
-	<p>
-		一个包含着构造函数中每个参数的对象。在对象实例化之后,对该属性的任何修改都不会改变这个几何体。
-	</p>
-
-	<h2>方法(Methods)</h2>
-	<p>共有方法请参见其基类[page:Geometry]。</p>
-
-	<h2>源代码</h2>
-
-	<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-</body>
-
-</html>

+ 0 - 72
docs/api/zh/geometries/ParametricGeometry.html

@@ -1,72 +0,0 @@
-<!DOCTYPE html>
-<html lang="zh">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>参数化几何体([name])</h1>
-
-		<p class="desc">生成由参数表示其表面的几何体。</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#ParametricGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>代码示例</h2>
-
-		<code>
-		const geometry = new THREE.ParametricGeometry( THREE.ParametricGeometries.klein, 25, 25 );
-		const material = new THREE.MeshBasicMaterial( { color: 0x00ff00 } );
-		const klein = new THREE.Mesh( geometry, material );
-		scene.add( klein );
-		</code>
-
-
-		<h2>构造函数</h2>
-
-
-		<h3>[name]([param:Function func], [param:Integer slices], [param:Integer stacks])</h3>
-		<p>
-		func — A function that takes in a [page:Float u] and [page:Float v] value each between 0 and 1 and modifies a third [page:Vector3] argument<br />
-		slices — The count of slices to use for the parametric function <br />
-		stacks — The count of stacks to use for the parametric function
-		</p>
-
-
-		<h2>属性</h2>
-		<p>共有属性请参见其基类[page:Geometry]。</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-		一个包含着构造函数中每个参数的对象。在对象实例化之后,对该属性的任何修改都不会改变这个几何体。
-		</p>
-
-		<h2>方法(Methods)</h2>
-		<p>共有方法请参见其基类[page:Geometry]。</p>
-
-		<h2>源代码</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 69
docs/api/zh/geometries/PlaneGeometry.html

@@ -1,69 +0,0 @@
-<!DOCTYPE html>
-<html lang="zh">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>平面几何体([name])</h1>
-
-		<p class="desc">一个用于生成平面几何体的类。</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#PlaneGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>代码示例</h2>
-
-		<code>const geometry = new THREE.PlaneGeometry( 5, 20, 32 );
-		const material = new THREE.MeshBasicMaterial( {color: 0xffff00, side: THREE.DoubleSide} );
-		const plane = new THREE.Mesh( geometry, material );
-		scene.add( plane );
-		</code>
-
-		<h2>构造器</h2>
-
-		<h3>[name]([param:Float width], [param:Float height], [param:Integer widthSegments], [param:Integer heightSegments])</h3>
-		<p>
-		width — 平面沿着X轴的宽度。默认值是1。<br />
-		height — 平面沿着Y轴的高度。默认值是1。<br />
-		widthSegments — (可选)平面的宽度分段数,默认值是1。<br />
-		heightSegments — (可选)平面的高度分段数,默认值是1。
-		</p>
-
-		<h2>属性</h2>
-		<p>共有属性请参见其基类[page:Geometry]。</p>
-
-		<h3>.parameters</h3>
-		<p>
-				一个包含着构造函数中每个参数的对象。在对象实例化之后,对该属性的任何修改都不会改变这个几何体。
-		</p>
-
-		<h2>方法(Methods)</h2>
-		<p>共有方法请参见其基类[page:Geometry]。</p>
-
-		<h2>源代码</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 65
docs/api/zh/geometries/PolyhedronGeometry.html

@@ -1,65 +0,0 @@
-<!DOCTYPE html>
-<html lang="zh">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>多面几何体([name])</h1>
-
-		<p class="desc">
-			多面体是在三维空间中具有一些平面的立体图形。这个类将一个顶点数组投射到一个球面上,之后将它们细分为所需的细节级别。
-		</p>
-
-		<h2>代码示例</h2>
-<code>
-const verticesOfCube = [
-    -1,-1,-1,    1,-1,-1,    1, 1,-1,    -1, 1,-1,
-    -1,-1, 1,    1,-1, 1,    1, 1, 1,    -1, 1, 1,
-];
-
-const indicesOfFaces = [
-    2,1,0,    0,3,2,
-    0,4,7,    7,3,0,
-    0,1,5,    5,4,0,
-    1,2,6,    6,5,1,
-    2,3,7,    7,6,2,
-    4,5,6,    6,7,4
-];
-
-const geometry = new THREE.PolyhedronGeometry( verticesOfCube, indicesOfFaces, 6, 2 );
-</code>
-
-		<h2>构造器</h2>
-
-
-		<h3>[name]([param:Array vertices], [param:Array indices], [param:Float radius], [param:Integer detail])</h3>
-		<p>
-		vertices — 一个顶点[page:Array](数组):[1,1,1, -1,-1,-1, ... ]。 <br />
-		indices — 一个构成面的索引[page:Array](数组), [0,1,2, 2,3,0, ... ]。<br />
-		radius — [page:Float] - 最终形状的半径。<br />
-		detail — [page:Integer] - 将对这个几何体细分多少个级别。细节越多,形状就越平滑。
-		</p>
-
-		<h2>属性</h2>
-		<p>共有属性请参见其基类[page:Geometry]。</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-				一个包含着构造函数中每个参数的对象。在对象实例化之后,对该属性的任何修改都不会改变这个几何体。
-		</p>
-
-		<h2>方法(Methods)</h2>
-		<p>共有方法请参见其基类[page:Geometry]。</p>
-
-		<h2>源代码</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 71
docs/api/zh/geometries/RingGeometry.html

@@ -1,71 +0,0 @@
-<!DOCTYPE html>
-<html lang="zh">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>圆环几何体([name])</h1>
-
-		<p class="desc">一个用于生成二维圆环几何体的类。</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#RingGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>代码示例</h2>
-
-		<code>const geometry = new THREE.RingGeometry( 1, 5, 32 );
-		const material = new THREE.MeshBasicMaterial( { color: 0xffff00, side: THREE.DoubleSide } );
-		const mesh = new THREE.Mesh( geometry, material );
-		scene.add( mesh );
-		</code>
-
-		<h2>构造器</h2>
-
-		<h3>[name]([param:Float innerRadius], [param:Float outerRadius], [param:Integer thetaSegments], [param:Integer phiSegments], [param:Float thetaStart], [param:Float thetaLength])</h3>
-		<p>
-		innerRadius — 内部半径,默认值为0.5。 <br />
-		outerRadius — 外部半径,默认值为1。<br />
-		thetaSegments — 圆环的分段数。这个值越大,圆环就越圆。最小值为3,默认值为8。<br />
-		phiSegments — 最小值为1,默认值为8。<br />
-		thetaStart — 起始角度,默认值为0。<br />
-		thetaLength — 圆心角,默认值为Math.PI * 2。
-		</p>
-
-		<h2>属性</h2>
-		<p>共有属性请参见其基类[page:Geometry]。</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-			一个包含着构造函数中每个参数的对象。在对象实例化之后,对该属性的任何修改都不会改变这个几何体。
-		</p>
-
-		<h2>方法(Methods)</h2>
-		<p>共有方法请参见其基类[page:Geometry]。</p>
-
-		<h2>源代码</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 83
docs/api/zh/geometries/ShapeGeometry.html

@@ -1,83 +0,0 @@
-<!DOCTYPE html>
-<html lang="zh">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>形状几何体([name])</h1>
-
-		<p class="desc">从一个或多个路径形状中创建一个单面多边形几何体。</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#ShapeGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-
-		<h2>代码示例</h2>
-
-
-		<code>
-		const x = 0, y = 0;
-
-		const heartShape = new THREE.Shape();
-
-		heartShape.moveTo( x + 5, y + 5 );
-		heartShape.bezierCurveTo( x + 5, y + 5, x + 4, y, x, y );
-		heartShape.bezierCurveTo( x - 6, y, x - 6, y + 7,x - 6, y + 7 );
-		heartShape.bezierCurveTo( x - 6, y + 11, x - 3, y + 15.4, x + 5, y + 19 );
-		heartShape.bezierCurveTo( x + 12, y + 15.4, x + 16, y + 11, x + 16, y + 7 );
-		heartShape.bezierCurveTo( x + 16, y + 7, x + 16, y, x + 10, y );
-		heartShape.bezierCurveTo( x + 7, y, x + 5, y + 5, x + 5, y + 5 );
-
-		const geometry = new THREE.ShapeGeometry( heartShape );
-		const material = new THREE.MeshBasicMaterial( { color: 0x00ff00 } );
-		const mesh = new THREE.Mesh( geometry, material ) ;
-		scene.add( mesh );
-		</code>
-
-		<h2>构造器</h2>
-
-
-		<h3>[name]([param:Array shapes], [param:Integer curveSegments])</h3>
-		<p>
-		shapes — 一个单独的[page:Shape shape],或者一个包含形状的[page:Array]。<br />
-		curveSegments - [page:Integer] - 每一个形状的分段数,默认值为12。
-		</p>
-
-		<h2>属性</h2>
-		<p>共有属性请参见其基类[page:Geometry]。</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-				一个包含着构造函数中每个参数的对象。在对象实例化之后,对该属性的任何修改都不会改变这个几何体。
-		</p>
-
-		<h2>方法(Methods)</h2>
-		<p>共有方法请参见其基类[page:Geometry]。</p>
-
-		<h2>源代码</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 79
docs/api/zh/geometries/SphereGeometry.html

@@ -1,79 +0,0 @@
-<!DOCTYPE html>
-<html lang="zh">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>球几何体([name])</h1>
-
-		<p class="desc">一个用于生成球体的类。</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#SphereGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>代码示例</h2>
-
-		<code>const geometry = new THREE.SphereGeometry( 5, 32, 32 );
-		const material = new THREE.MeshBasicMaterial( {color: 0xffff00} );
-		const sphere = new THREE.Mesh( geometry, material );
-		scene.add( sphere );
-		</code>
-
-		<h2>构造器</h2>
-
-		<h3>[name]([param:Float radius], [param:Integer widthSegments], [param:Integer heightSegments], [param:Float phiStart], [param:Float phiLength], [param:Float thetaStart], [param:Float thetaLength])</h3>
-
-		<p>
-		radius — 球体半径,默认为1。<br />
-		widthSegments — 水平分段数(沿着经线分段),最小值为3,默认值为8。<br />
-		heightSegments — 垂直分段数(沿着纬线分段),最小值为2,默认值为6。<br />
-		phiStart — 指定水平(经线)起始角度,默认值为0。。<br />
-		phiLength — 指定水平(经线)扫描角度的大小,默认值为 Math.PI * 2。<br />
-		thetaStart — 指定垂直(纬线)起始角度,默认值为0。<br />
-		thetaLength — 指定垂直(纬线)扫描角度大小,默认值为 Math.PI。<br />
-		</p>
-
-		<p>
-			该几何体是通过扫描并计算围绕着Y轴(水平扫描)和X轴(垂直扫描)的顶点来创建的。
-			因此,不完整的球体(类似<em>球形切片</em>)可以通过为phiStart,phiLength,thetaStart和thetaLength设置不同的值来创建,
-			以定义我们开始(或结束)计算这些顶点的起点(或终点)。
-		</p>
-
-		<h2>属性</h2>
-		<p>共有属性请参见其基类[page:Geometry]。</p>
-
-		<h3>.parameters</h3>
-		<p>
-				一个包含着构造函数中每个参数的对象。在对象实例化之后,对该属性的任何修改都不会改变这个几何体。
-		</p>
-
-		<h2>方法(Methods)</h2>
-		<p>共有方法请参见其基类[page:Geometry]。</p>
-
-		<h2>源代码</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 59
docs/api/zh/geometries/TetrahedronGeometry.html

@@ -1,59 +0,0 @@
-<!DOCTYPE html>
-<html lang="zh">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>四面几何体([name])</h1>
-
-		<p class="desc">一个用于生成四面几何体的类。</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#TetrahedronGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>构造器</h2>
-
-		<h3>[name]([param:Float radius], [param:Integer detail])</h3>
-		<p>
-		radius — 四面体的半径,默认值为1。<br />
-		detail — 默认值为0。将这个值设为一个大于0的数将会为它增加一些顶点,使其不再是一个四面体。
-		</p>
-
-		<h2>属性</h2>
-		<p>共有属性请参见其基类[page:Geometry]。</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-				一个包含着构造函数中每个参数的对象。在对象实例化之后,对该属性的任何修改都不会改变这个几何体。
-		</p>
-
-		<h2>方法(Methods)</h2>
-		<p>共有方法请参见其基类[page:Geometry]。</p>
-
-		<h2>源代码</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 174
docs/api/zh/geometries/TextGeometry.html

@@ -1,174 +0,0 @@
-<!DOCTYPE html>
-<html lang="zh">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr; [page:ExtrudeGeometry] &rarr;
-
-		<h1>文本几何体([name])</h1>
-
-		<p class="desc">
-			一个用于将文本生成为单一的几何体的类。
-			它是由一串给定的文本,以及由加载的[page:Font](字体)和该几何体[page:ExtrudeGeometry]父类中的设置所组成的参数来构造的。
-			请参阅[page:Font]、[page:FontLoader]和[page:Creating_Text]页面来查看更多详细信息。
-		</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#TextGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>代码示例</h2>
-
-		<code>
-		const loader = new THREE.FontLoader();
-
-		loader.load( 'fonts/helvetiker_regular.typeface.json', function ( font ) {
-
-			const geometry = new THREE.TextGeometry( 'Hello three.js!', {
-				font: font,
-				size: 80,
-				height: 5,
-				curveSegments: 12,
-				bevelEnabled: true,
-				bevelThickness: 10,
-				bevelSize: 8,
-				bevelSegments: 5
-			} );
-		} );
-		</code>
-
-		<h2>例子</h2>
-
-		<p>
-		[example:webgl_geometry_text geometry / text ]
-		</p>
-
-		<h2>构造器</h2>
-
-		<h3>[name]([param:String text], [param:Object parameters])</h3>
-		<p>
-		text — 将要显示的文本。<br />
-		parameters — 包含有下列参数的对象:
-		<ul>
-			<li>font — THREE.Font的实例。</li>
-			<li>size — Float。字体大小,默认值为100。</li>
-			<li>height — Float。挤出文本的厚度。默认值为50。</li>
-			<li>curveSegments — Integer。(表示文本的)曲线上点的数量。默认值为12。</li>
-			<li>bevelEnabled — Boolean。是否开启斜角,默认为false。</li>
-			<li>bevelThickness — Float。文本上斜角的深度,默认值为20。</li>
-			<li>bevelSize — Float。斜角与原始文本轮廓之间的延伸距离。默认值为8。</li>
-			<li>bevelSegments — Integer。斜角的分段数。默认值为3。</li>
-		</ul>
-		</p>
-
-		<h2>可用的字体</h2>
-
-		<p>
-			文本几何体使用 <a href='http://gero3.github.io/facetype.js/' target="_top">typeface.json</a>所生成的字体。
-			一些已有的字体可以在<b>/examples/fonts</b>中找到,且必须在页面中引入。
-		</p>
-		<table>
-			<tr>
-				<th>字体</th>
-				<th>字重</th>
-				<th>风格</th>
-				<th>文件路径</th>
-			</tr>
-			<tr>
-				<td>helvetiker</td>
-				<td>normal</td>
-				<td>normal</td>
-				<td>/examples/fonts/helvetiker_regular.typeface.json</td>
-			</tr>
-			<tr>
-				<td>helvetiker</td>
-				<td>bold</td>
-				<td>normal</td>
-				<td>/examples/fonts/helvetiker_bold.typeface.json</td>
-			</tr>
-			<tr>
-				<td>optimer</td>
-				<td>normal</td>
-				<td>normal</td>
-				<td>/examples/fonts/optimer_regular.typeface.json</td>
-			</tr>
-			<tr>
-				<td>optimer</td>
-				<td>bold</td>
-				<td>normal</td>
-				<td>/examples/fonts/optimer_bold.typeface.json</td>
-			</tr>
-			<tr>
-				<td>gentilis</td>
-				<td>normal</td>
-				<td>normal</td>
-				<td>/examples/fonts/gentilis_regular.typeface.json</td>
-			</tr>
-			<tr>
-				<td>gentilis</td>
-				<td>bold</td>
-				<td>normal</td>
-				<td>/examples/fonts/gentilis_bold.typeface.json</td>
-			</tr>
-			<tr>
-				<td>droid sans</td>
-				<td>normal</td>
-				<td>normal</td>
-				<td>/examples/fonts/droid/droid_sans_regular.typeface.json</td>
-			</tr>
-			<tr>
-				<td>droid sans</td>
-				<td>bold</td>
-				<td>normal</td>
-				<td>/examples/fonts/droid/droid_sans_bold.typeface.json</td>
-			</tr>
-			<tr>
-				<td>droid serif</td>
-				<td>normal</td>
-				<td>normal</td>
-				<td>/examples/fonts/droid/droid_serif_regular.typeface.json</td>
-			</tr>
-			<tr>
-				<td>droid serif</td>
-				<td>bold</td>
-				<td>normal</td>
-				<td>/examples/fonts/droid/droid_serif_bold.typeface.json</td>
-			</tr>
-		</table>
-
-		<h2>属性</h2>
-		<p>共有属性请参见其基类[page:ExtrudeGeometry]。</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-				一个包含着构造函数中每个参数的对象。在对象实例化之后,对该属性的任何修改都不会改变这个几何体。
-		</p>
-
-		<h2>方法(Methods)</h2>
-		<p>共有方法请参见其基类[page:ExtrudeGeometry]。</p>
-
-		<h2>源代码</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 70
docs/api/zh/geometries/TorusGeometry.html

@@ -1,70 +0,0 @@
-<!DOCTYPE html>
-<html lang="zh">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>圆环几何体([name])</h1>
-
-		<p class="desc">一个用于生成圆环几何体的类。</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#TorusGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>代码示例</h2>
-
-		<code>const geometry = new THREE.TorusGeometry( 10, 3, 16, 100 );
-		const material = new THREE.MeshBasicMaterial( { color: 0xffff00 } );
-		const torus = new THREE.Mesh( geometry, material );
-		scene.add( torus );
-		</code>
-
-		<h2>构造器</h2>
-
-		<h3>[name]([param:Float radius], [param:Float tube], [param:Integer radialSegments], [param:Integer tubularSegments], [param:Float arc])</h3>
-		<p>
-		radius - 圆环的半径,从圆环的中心到管道(横截面)的中心。默认值是1。<br />
-		tube — 管道的半径,默认值为0.4。<br />
-		radialSegments — 圆环的分段数,默认值为8。<br />
-		tubularSegments — 管道的分段数,默认值为6。<br />
-		arc — 圆环的中心角(单位是弧度),默认值为Math.PI * 2。
-		</p>
-
-		<h2>属性</h2>
-		<p>共有属性请参见其基类[page:Geometry]。</p>
-
-		<h3>.parameters</h3>
-		<p>
-			一个包含着构造函数中每个参数的对象。在对象实例化之后,对该属性的任何修改都不会改变这个几何体。
-		</p>
-
-		<h2>方法(Methods)</h2>
-		<p>共有方法请参见其基类[page:Geometry]。</p>
-
-		<h2>源代码</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 74
docs/api/zh/geometries/TorusKnotGeometry.html

@@ -1,74 +0,0 @@
-<!DOCTYPE html>
-<html lang="zh">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>圆环扭结几何体([name])</h1>
-
-		<p class="desc">
-			创建一个圆环扭结,其特殊形状由一对互质的整数,p和q所定义。如果p和q不互质,创建出来的几何体将是一个环面链接。</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#TorusKnotGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>代码示例</h2>
-
-		<code>const geometry = new THREE.TorusKnotGeometry( 10, 3, 100, 16 );
-		const material = new THREE.MeshBasicMaterial( { color: 0xffff00 } );
-		const torusKnot = new THREE.Mesh( geometry, material );
-		scene.add( torusKnot );
-		</code>
-
-		<h2>构造器</h2>
-
-		<h3>[name]([param:Float radius], [param:Float tube], [param:Integer tubularSegments], [param:Integer radialSegments], [param:Integer p], [param:Integer q])</h3>
-		<p>
-			<ul>
-				<li>radius - 圆环的半径,默认值为1。</li>
-				<li>tube — 管道的半径,默认值为0.4。</li>
-				<li>tubularSegments — 管道的分段数量,默认值为64。</li>
-				<li>radialSegments — 横截面分段数量,默认值为8。</li>
-				<li>p — 这个值决定了几何体将绕着其旋转对称轴旋转多少次,默认值是2。</li>
-				<li>q — 这个值决定了几何体将绕着其内部圆环旋转多少次,默认值是3。</li>
-			</ul>
-		</p>
-
-		<h2>属性</h2>
-		<p>共有属性请参见其基类[page:Geometry]。</p>
-
-		<h3>.parameters</h3>
-		<p>
-				一个包含着构造函数中每个参数的对象。在对象实例化之后,对该属性的任何修改都不会改变这个几何体。
-		</p>
-
-		<h2>方法(Methods)</h2>
-		<p>共有方法请参见其基类[page:Geometry]。</p>
-
-		<h2>源代码</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 111
docs/api/zh/geometries/TubeGeometry.html

@@ -1,111 +0,0 @@
-<!DOCTYPE html>
-<html lang="zh">
-	<head>
-		<meta charset="utf-8" />
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		[page:Geometry] &rarr;
-
-		<h1>管道几何体([name])</h1>
-
-		<p class="desc">创建一个沿着三维曲线延伸的管道。</p>
-
-		<iframe id="scene" src="scenes/geometry-browser.html#TubeGeometry"></iframe>
-
-		<script>
-
-		// iOS iframe auto-resize workaround
-
-		if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
-			const scene = document.getElementById( 'scene' );
-
-			scene.style.width = getComputedStyle( scene ).width;
-			scene.style.height = getComputedStyle( scene ).height;
-			scene.setAttribute( 'scrolling', 'no' );
-
-		}
-
-		</script>
-
-		<h2>代码示例</h2>
-
-		<code>
-		class CustomSinCurve extends THREE.Curve {
-
-			constructor( scale = 1 ) {
-
-				super();
-
-				this.scale = scale;
-
-			}
-
-			getPoint( t, optionalTarget = new THREE.Vector3() ) {
-
-				const tx = t * 3 - 1.5;
-				const ty = Math.sin( 2 * Math.PI * t );
-				const tz = 0;
-
-				return optionalTarget.set( tx, ty, tz ).multiplyScalar( this.scale );
-
-			}
-
-		}
-
-		const path = new CustomSinCurve( 10 );
-		const geometry = new THREE.TubeGeometry( path, 20, 2, 8, false );
-		const material = new THREE.MeshBasicMaterial( { color: 0x00ff00 } );
-		const mesh = new THREE.Mesh( geometry, material );
-		scene.add( mesh );
-		</code>
-
-		<h2>构造器</h2>
-
-
-		<h3>[name]([param:Curve path], [param:Integer tubularSegments], [param:Float radius], [param:Integer radialSegments], [param:Boolean closed])</h3>
-		<p>
-		path — [page:Curve] - 一个由基类[page:Curve]继承而来的3D路径。<br />
-		tubularSegments — [page:Integer] - 组成这一管道的分段数,默认值为64。<br />
-		radius — [page:Float] - 管道的半径,默认值为1。<br />
-		radialSegments — [page:Integer] - 管道横截面的分段数目,默认值为8。<br />
-		closed — [page:Boolean] 管道的两端是否闭合,默认值为false。<br />
-		</p>
-
-
-		<h2>属性</h2>
-		<p>共有属性请参见其基类[page:Geometry]。</p>
-
-		<h3>[property:Object parameters]</h3>
-		<p>
-		一个包含着构造函数中每个参数的对象。在对象实例化之后,对该属性的任何修改都不会改变这个几何体。
-		</p>
-
-		<h3>[property:Array tangents]</h3>
-		<p>
-			一个[page:Vector3]切线数组。
-		</p>
-
-		<h3>[property:Array normals]</h3>
-		<p>
-			一个[page:Vector3]法线数组。
-		</p>
-
-		<h3>[property:Array binormals]</h3>
-		<p>
-			一个[page:Vector3]次法线数组。
-		</p>
-
-		<h2>方法(Methods)</h2>
-		<p>共有方法请参见其基类[page:Geometry]。</p>
-
-		<h2>源代码</h2>
-
-		<p>
-			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-		</p>
-	</body>
-</html>

+ 0 - 40
docs/list.json

@@ -142,46 +142,26 @@
 
 			"Geometries": {
 				"BoxBufferGeometry": "api/en/geometries/BoxBufferGeometry",
-				"BoxGeometry": "api/en/geometries/BoxGeometry",
 				"CircleBufferGeometry": "api/en/geometries/CircleBufferGeometry",
-				"CircleGeometry": "api/en/geometries/CircleGeometry",
 				"ConeBufferGeometry": "api/en/geometries/ConeBufferGeometry",
-				"ConeGeometry": "api/en/geometries/ConeGeometry",
 				"CylinderBufferGeometry": "api/en/geometries/CylinderBufferGeometry",
-				"CylinderGeometry": "api/en/geometries/CylinderGeometry",
 				"DodecahedronBufferGeometry": "api/en/geometries/DodecahedronBufferGeometry",
-				"DodecahedronGeometry": "api/en/geometries/DodecahedronGeometry",
 				"EdgesGeometry": "api/en/geometries/EdgesGeometry",
 				"ExtrudeBufferGeometry": "api/en/geometries/ExtrudeBufferGeometry",
-				"ExtrudeGeometry": "api/en/geometries/ExtrudeGeometry",
 				"IcosahedronBufferGeometry": "api/en/geometries/IcosahedronBufferGeometry",
-				"IcosahedronGeometry": "api/en/geometries/IcosahedronGeometry",
 				"LatheBufferGeometry": "api/en/geometries/LatheBufferGeometry",
-				"LatheGeometry": "api/en/geometries/LatheGeometry",
 				"OctahedronBufferGeometry": "api/en/geometries/OctahedronBufferGeometry",
-				"OctahedronGeometry": "api/en/geometries/OctahedronGeometry",
 				"ParametricBufferGeometry": "api/en/geometries/ParametricBufferGeometry",
-				"ParametricGeometry": "api/en/geometries/ParametricGeometry",
 				"PlaneBufferGeometry": "api/en/geometries/PlaneBufferGeometry",
-				"PlaneGeometry": "api/en/geometries/PlaneGeometry",
 				"PolyhedronBufferGeometry": "api/en/geometries/PolyhedronBufferGeometry",
-				"PolyhedronGeometry": "api/en/geometries/PolyhedronGeometry",
 				"RingBufferGeometry": "api/en/geometries/RingBufferGeometry",
-				"RingGeometry": "api/en/geometries/RingGeometry",
 				"ShapeBufferGeometry": "api/en/geometries/ShapeBufferGeometry",
-				"ShapeGeometry": "api/en/geometries/ShapeGeometry",
 				"SphereBufferGeometry": "api/en/geometries/SphereBufferGeometry",
-				"SphereGeometry": "api/en/geometries/SphereGeometry",
 				"TetrahedronBufferGeometry": "api/en/geometries/TetrahedronBufferGeometry",
-				"TetrahedronGeometry": "api/en/geometries/TetrahedronGeometry",
 				"TextBufferGeometry": "api/en/geometries/TextBufferGeometry",
-				"TextGeometry": "api/en/geometries/TextGeometry",
 				"TorusBufferGeometry": "api/en/geometries/TorusBufferGeometry",
-				"TorusGeometry": "api/en/geometries/TorusGeometry",
 				"TorusKnotBufferGeometry": "api/en/geometries/TorusKnotBufferGeometry",
-				"TorusKnotGeometry": "api/en/geometries/TorusKnotGeometry",
 				"TubeBufferGeometry": "api/en/geometries/TubeBufferGeometry",
-				"TubeGeometry": "api/en/geometries/TubeGeometry",
 				"WireframeGeometry": "api/en/geometries/WireframeGeometry"
 			},
 
@@ -676,46 +656,26 @@
 
 			"几何体": {
 				"BoxBufferGeometry": "api/zh/geometries/BoxBufferGeometry",
-				"BoxGeometry": "api/zh/geometries/BoxGeometry",
 				"CircleBufferGeometry": "api/zh/geometries/CircleBufferGeometry",
-				"CircleGeometry": "api/zh/geometries/CircleGeometry",
 				"ConeBufferGeometry": "api/zh/geometries/ConeBufferGeometry",
-				"ConeGeometry": "api/zh/geometries/ConeGeometry",
 				"CylinderBufferGeometry": "api/zh/geometries/CylinderBufferGeometry",
-				"CylinderGeometry": "api/zh/geometries/CylinderGeometry",
 				"DodecahedronBufferGeometry": "api/zh/geometries/DodecahedronBufferGeometry",
-				"DodecahedronGeometry": "api/zh/geometries/DodecahedronGeometry",
 				"EdgesGeometry": "api/zh/geometries/EdgesGeometry",
 				"ExtrudeBufferGeometry": "api/zh/geometries/ExtrudeBufferGeometry",
-				"ExtrudeGeometry": "api/zh/geometries/ExtrudeGeometry",
 				"IcosahedronBufferGeometry": "api/zh/geometries/IcosahedronBufferGeometry",
-				"IcosahedronGeometry": "api/zh/geometries/IcosahedronGeometry",
 				"LatheBufferGeometry": "api/zh/geometries/LatheBufferGeometry",
-				"LatheGeometry": "api/zh/geometries/LatheGeometry",
 				"OctahedronBufferGeometry": "api/zh/geometries/OctahedronBufferGeometry",
-				"OctahedronGeometry": "api/zh/geometries/OctahedronGeometry",
 				"ParametricBufferGeometry": "api/zh/geometries/ParametricBufferGeometry",
-				"ParametricGeometry": "api/zh/geometries/ParametricGeometry",
 				"PlaneBufferGeometry": "api/zh/geometries/PlaneBufferGeometry",
-				"PlaneGeometry": "api/zh/geometries/PlaneGeometry",
 				"PolyhedronBufferGeometry": "api/zh/geometries/PolyhedronBufferGeometry",
-				"PolyhedronGeometry": "api/zh/geometries/PolyhedronGeometry",
 				"RingBufferGeometry": "api/zh/geometries/RingBufferGeometry",
-				"RingGeometry": "api/zh/geometries/RingGeometry",
 				"ShapeBufferGeometry": "api/zh/geometries/ShapeBufferGeometry",
-				"ShapeGeometry": "api/zh/geometries/ShapeGeometry",
 				"SphereBufferGeometry": "api/zh/geometries/SphereBufferGeometry",
-				"SphereGeometry": "api/zh/geometries/SphereGeometry",
 				"TetrahedronBufferGeometry": "api/zh/geometries/TetrahedronBufferGeometry",
-				"TetrahedronGeometry": "api/zh/geometries/TetrahedronGeometry",
 				"TextBufferGeometry": "api/zh/geometries/TextBufferGeometry",
-				"TextGeometry": "api/zh/geometries/TextGeometry",
 				"TorusBufferGeometry": "api/zh/geometries/TorusBufferGeometry",
-				"TorusGeometry": "api/zh/geometries/TorusGeometry",
 				"TorusKnotBufferGeometry": "api/zh/geometries/TorusKnotBufferGeometry",
-				"TorusKnotGeometry": "api/zh/geometries/TorusKnotGeometry",
 				"TubeBufferGeometry": "api/zh/geometries/TubeBufferGeometry",
-				"TubeGeometry": "api/zh/geometries/TubeGeometry",
 				"WireframeGeometry": "api/zh/geometries/WireframeGeometry"
 			},
 

+ 165 - 8
src/Three.Legacy.js

@@ -37,11 +37,27 @@ import { AxesHelper } from './helpers/AxesHelper.js';
 import { BoxHelper } from './helpers/BoxHelper.js';
 import { GridHelper } from './helpers/GridHelper.js';
 import { SkeletonHelper } from './helpers/SkeletonHelper.js';
-import { BoxGeometry } from './geometries/BoxGeometry.js';
+import { BoxBufferGeometry } from './geometries/BoxBufferGeometry.js';
+import { CircleBufferGeometry } from './geometries/CircleBufferGeometry.js';
+import { ConeBufferGeometry } from './geometries/ConeBufferGeometry.js';
+import { CylinderBufferGeometry } from './geometries/CylinderBufferGeometry.js';
+import { DodecahedronBufferGeometry } from './geometries/DodecahedronBufferGeometry.js';
 import { EdgesGeometry } from './geometries/EdgesGeometry.js';
-import { ExtrudeGeometry } from './geometries/ExtrudeGeometry.js';
 import { ExtrudeBufferGeometry } from './geometries/ExtrudeBufferGeometry.js';
-import { ShapeGeometry } from './geometries/ShapeGeometry.js';
+import { IcosahedronBufferGeometry } from './geometries/IcosahedronBufferGeometry.js';
+import { LatheBufferGeometry } from './geometries/LatheBufferGeometry.js';
+import { OctahedronBufferGeometry } from './geometries/OctahedronBufferGeometry.js';
+import { ParametricBufferGeometry } from './geometries/ParametricBufferGeometry.js';
+import { PlaneBufferGeometry } from './geometries/PlaneBufferGeometry.js';
+import { PolyhedronBufferGeometry } from './geometries/PolyhedronBufferGeometry.js';
+import { RingBufferGeometry } from './geometries/RingBufferGeometry.js';
+import { ShapeBufferGeometry } from './geometries/ShapeBufferGeometry.js';
+import { SphereBufferGeometry } from './geometries/SphereBufferGeometry.js';
+import { TetrahedronBufferGeometry } from './geometries/TetrahedronBufferGeometry.js';
+import { TextBufferGeometry } from './geometries/TextBufferGeometry.js';
+import { TorusBufferGeometry } from './geometries/TorusBufferGeometry.js';
+import { TorusKnotBufferGeometry } from './geometries/TorusKnotBufferGeometry.js';
+import { TubeBufferGeometry } from './geometries/TubeBufferGeometry.js';
 import { WireframeGeometry } from './geometries/WireframeGeometry.js';
 import { Light } from './lights/Light.js';
 import { Loader } from './loaders/Loader.js';
@@ -89,7 +105,6 @@ import { Shape } from './extras/core/Shape.js';
 import { CubeCamera } from './cameras/CubeCamera.js';
 import { Scene } from './scenes/Scene.js';
 
-export { BoxGeometry as CubeGeometry };
 export { MathUtils as Math };
 
 export function Face4( a, b, c, d, normal, color, materialIndex ) {
@@ -838,14 +853,14 @@ Object.assign( Shape.prototype, {
 	},
 	extrude: function ( options ) {
 
-		console.warn( 'THREE.Shape: .extrude() has been removed. Use ExtrudeGeometry() instead.' );
-		return new ExtrudeGeometry( this, options );
+		console.warn( 'THREE.Shape: .extrude() has been removed. Use ExtrudeBufferGeometry() instead.' );
+		return new ExtrudeBufferGeometry( this, options );
 
 	},
 	makeGeometry: function ( options ) {
 
-		console.warn( 'THREE.Shape: .makeGeometry() has been removed. Use ShapeGeometry() instead.' );
-		return new ShapeGeometry( this, options );
+		console.warn( 'THREE.Shape: .makeGeometry() has been removed. Use ShapeBufferGeometry() instead.' );
+		return new ShapeBufferGeometry( this, options );
 
 	}
 
@@ -971,6 +986,148 @@ Object.assign( Geometry.prototype, {
 
 } );
 
+export function BoxGeometry( width, height, depth, widthSegments, heightSegments, depthSegments ) {
+
+	console.warn( 'THREE.BoxGeometry has been removed. Use THREE.BoxBufferGeometry instead.' );
+	return new BoxBufferGeometry( width, height, depth, widthSegments, heightSegments, depthSegments );
+
+}
+
+export function CircleGeometry( radius, segments, thetaStart, thetaLength ) {
+
+	console.warn( 'THREE.CircleGeometry has been removed. Use THREE.CircleBufferGeometry instead.' );
+	return new CircleBufferGeometry( radius, segments, thetaStart, thetaLength );
+
+}
+
+export function ConeGeometry( radius, height, radialSegments, heightSegments, openEnded, thetaStart, thetaLength ) {
+
+	console.warn( 'THREE.CircleGeometry has been removed. Use THREE.ConeBufferGeometry instead.' );
+	return new ConeBufferGeometry( radius, height, radialSegments, heightSegments, openEnded, thetaStart, thetaLength );
+
+}
+
+export function CylinderGeometry( radiusTop, radiusBottom, height, radialSegments, heightSegments, openEnded, thetaStart, thetaLength ) {
+
+	console.warn( 'THREE.CylinderGeometry has been removed. Use THREE.CylinderBufferGeometry instead.' );
+	return new CylinderBufferGeometry( radiusTop, radiusBottom, height, radialSegments, heightSegments, openEnded, thetaStart, thetaLength );
+
+}
+
+export function DodecahedronGeometry( radius, detail ) {
+
+	console.warn( 'THREE.DodecahedronGeometry has been removed. Use THREE.DodecahedronBufferGeometry instead.' );
+	return new DodecahedronBufferGeometry( radius, detail );
+
+}
+
+export function ExtrudeGeometry( shapes, options ) {
+
+	console.warn( 'THREE.ExtrudeGeometry has been removed. Use THREE.ExtrudeBufferGeometry instead.' );
+	return new ExtrudeBufferGeometry( shapes, options );
+
+}
+
+export function IcosahedronGeometry( radius, detail ) {
+
+	console.warn( 'THREE.IcosahedronGeometry has been removed. Use THREE.IcosahedronBufferGeometry instead.' );
+	return new IcosahedronBufferGeometry( radius, detail );
+
+}
+
+export function LatheGeometry( points, segments, phiStart, phiLength ) {
+
+	console.warn( 'THREE.LatheGeometry has been removed. Use THREE.LatheBufferGeometry instead.' );
+	return new LatheBufferGeometry( points, segments, phiStart, phiLength );
+
+}
+
+export function OctahedronGeometry( radius, detail ) {
+
+	console.warn( 'THREE.OctahedronGeometry has been removed. Use THREE.OctahedronBufferGeometry instead.' );
+	return new OctahedronBufferGeometry( radius, detail );
+
+}
+
+export function ParametricGeometry( func, slices, stacks ) {
+
+	console.warn( 'THREE.ParametricGeometry has been removed. Use THREE.ParametricBufferGeometry instead.' );
+	return new ParametricBufferGeometry( func, slices, stacks );
+
+}
+
+export function PlaneGeometry( width, height, widthSegments, heightSegments ) {
+
+	console.warn( 'THREE.PlaneGeometry has been removed. Use THREE.PlaneBufferGeometry instead.' );
+	return new PlaneBufferGeometry( width, height, widthSegments, heightSegments );
+
+}
+
+export function PolyhedronGeometry( vertices, indices, radius, detail ) {
+
+	console.warn( 'THREE.PolyhedronGeometry has been removed. Use THREE.PolyhedronBufferGeometry instead.' );
+	return new PolyhedronBufferGeometry( vertices, indices, radius, detail );
+
+}
+
+export function RingGeometry( innerRadius, outerRadius, thetaSegments, phiSegments, thetaStart, thetaLength ) {
+
+	console.warn( 'THREE.RingGeometry has been removed. Use THREE.RingBufferGeometry instead.' );
+	return new RingBufferGeometry( innerRadius, outerRadius, thetaSegments, phiSegments, thetaStart, thetaLength );
+
+}
+
+export function ShapeGeometry( shapes, curveSegments ) {
+
+	console.warn( 'THREE.ShapeGeometry has been removed. Use THREE.ShapeBufferGeometry instead.' );
+	return new ShapeBufferGeometry( shapes, curveSegments );
+
+}
+
+export function SphereGeometry( radius, widthSegments, heightSegments, phiStart, phiLength, thetaStart, thetaLength ) {
+
+	console.warn( 'THREE.SphereGeometry has been removed. Use THREE.SphereBufferGeometry instead.' );
+	return new SphereBufferGeometry( radius, widthSegments, heightSegments, phiStart, phiLength, thetaStart, thetaLength );
+
+}
+
+export function TetrahedronGeometry( radius, detail ) {
+
+	console.warn( 'THREE.TetrahedronGeometry has been removed. Use THREE.TetrahedronBufferGeometry instead.' );
+	return new TetrahedronBufferGeometry( radius, detail );
+
+}
+
+export function TextGeometry( text, parameters ) {
+
+	console.warn( 'THREE.TextGeometry has been removed. Use THREE.TextBufferGeometry instead.' );
+	return new TextBufferGeometry( text, parameters );
+
+}
+
+export function TorusGeometry( radius, tube, radialSegments, tubularSegments, arc ) {
+
+	console.warn( 'THREE.TorusGeometry has been removed. Use THREE.TorusBufferGeometry instead.' );
+	return new TorusBufferGeometry( radius, tube, radialSegments, tubularSegments, arc );
+
+}
+
+export function TorusKnotGeometry( radius, tube, tubularSegments, radialSegments, p, q, heightScale ) {
+
+	console.warn( 'THREE.TorusKnotGeometry has been removed. Use THREE.TorusKnotBufferGeometry instead.' );
+	return new TorusKnotBufferGeometry( radius, tube, tubularSegments, radialSegments, p, q, heightScale );
+
+}
+
+export function TubeGeometry( path, tubularSegments, radius, radialSegments, closed, taper ) {
+
+	console.warn( 'THREE.TubeGeometry has been removed. Use THREE.TubeBufferGeometry instead.' );
+	return new TubeBufferGeometry( path, tubularSegments, radius, radialSegments, closed, taper );
+
+}
+
+//
+
 Object.assign( Object3D.prototype, {
 
 	getChildByName: function ( name ) {

+ 0 - 36
src/geometries/BoxGeometry.d.ts

@@ -1,36 +0,0 @@
-import { Geometry } from './../core/Geometry';
-
-export class BoxGeometry extends Geometry {
-
-	/**
-	 * @param [width=1] — Width of the sides on the X axis.
-	 * @param [height=1] — Height of the sides on the Y axis.
-	 * @param [depth=1] — Depth of the sides on the Z axis.
-	 * @param [widthSegments=1] — Number of segmented faces along the width of the sides.
-	 * @param [heightSegments=1] — Number of segmented faces along the height of the sides.
-	 * @param [depthSegments=1] — Number of segmented faces along the depth of the sides.
-	 */
-	constructor(
-		width?: number,
-		height?: number,
-		depth?: number,
-		widthSegments?: number,
-		heightSegments?: number,
-		depthSegments?: number
-	);
-
-	/**
-	 * @default 'BoxGeometry'
-	 */
-	type: string;
-
-	parameters: {
-		width: number;
-		height: number;
-		depth: number;
-		widthSegments: number;
-		heightSegments: number;
-		depthSegments: number;
-	};
-
-}

+ 0 - 28
src/geometries/BoxGeometry.js

@@ -1,28 +0,0 @@
-import { Geometry } from '../core/Geometry.js';
-import { BoxBufferGeometry } from './BoxBufferGeometry.js';
-
-class BoxGeometry extends Geometry {
-
-	constructor( width, height, depth, widthSegments, heightSegments, depthSegments ) {
-
-		super();
-
-		this.type = 'BoxGeometry';
-
-		this.parameters = {
-			width: width,
-			height: height,
-			depth: depth,
-			widthSegments: widthSegments,
-			heightSegments: heightSegments,
-			depthSegments: depthSegments
-		};
-
-		this.fromBufferGeometry( new BoxBufferGeometry( width, height, depth, widthSegments, heightSegments, depthSegments ) );
-		this.mergeVertices();
-
-	}
-
-}
-
-export { BoxGeometry };

+ 0 - 30
src/geometries/CircleGeometry.d.ts

@@ -1,30 +0,0 @@
-import { Geometry } from './../core/Geometry';
-
-export class CircleGeometry extends Geometry {
-
-	/**
-	 * @param [radius=1]
-	 * @param [segments=8]
-	 * @param [thetaStart=0]
-	 * @param [thetaLength=Math.PI * 2]
-	 */
-	constructor(
-		radius?: number,
-		segments?: number,
-		thetaStart?: number,
-		thetaLength?: number
-	);
-
-	/**
-	 * @default 'CircleGeometry'
-	 */
-	type: string;
-
-	parameters: {
-		radius: number;
-		segments: number;
-		thetaStart: number;
-		thetaLength: number;
-	};
-
-}

+ 0 - 25
src/geometries/CircleGeometry.js

@@ -1,25 +0,0 @@
-import { Geometry } from '../core/Geometry.js';
-import { CircleBufferGeometry } from './CircleBufferGeometry.js';
-
-class CircleGeometry extends Geometry {
-
-	constructor( radius, segments, thetaStart, thetaLength ) {
-
-		super();
-		this.type = 'CircleGeometry';
-
-		this.parameters = {
-			radius: radius,
-			segments: segments,
-			thetaStart: thetaStart,
-			thetaLength: thetaLength
-		};
-
-		this.fromBufferGeometry( new CircleBufferGeometry( radius, segments, thetaStart, thetaLength ) );
-		this.mergeVertices();
-
-	}
-
-}
-
-export { CircleGeometry };

+ 0 - 29
src/geometries/ConeGeometry.d.ts

@@ -1,29 +0,0 @@
-import { CylinderGeometry } from './CylinderGeometry';
-
-export class ConeGeometry extends CylinderGeometry {
-
-	/**
-	 * @param [radius=1] — Radius of the cone base.
-	 * @param [height=1] — Height of the cone.
-	 * @param [radialSegments=8] — Number of segmented faces around the circumference of the cone.
-	 * @param [heightSegments=1] — Number of rows of faces along the height of the cone.
-	 * @param [openEnded=false] — A Boolean indicating whether the base of the cone is open or capped.
-	 * @param [thetaStart=0]
-	 * @param [thetaLength=Math.PI * 2]
-	 */
-	constructor(
-		radius?: number,
-		height?: number,
-		radialSegments?: number,
-		heightSegments?: number,
-		openEnded?: boolean,
-		thetaStart?: number,
-		thetaLength?: number
-	);
-
-	/**
-	 * @default 'ConeGeometry'
-	 */
-	type: string;
-
-}

+ 0 - 24
src/geometries/ConeGeometry.js

@@ -1,24 +0,0 @@
-import { CylinderGeometry } from './CylinderGeometry.js';
-
-class ConeGeometry extends CylinderGeometry {
-
-	constructor( radius, height, radialSegments, heightSegments, openEnded, thetaStart, thetaLength ) {
-
-		super( 0, radius, height, radialSegments, heightSegments, openEnded, thetaStart, thetaLength );
-		this.type = 'ConeGeometry';
-
-		this.parameters = {
-			radius: radius,
-			height: height,
-			radialSegments: radialSegments,
-			heightSegments: heightSegments,
-			openEnded: openEnded,
-			thetaStart: thetaStart,
-			thetaLength: thetaLength
-		};
-
-	}
-
-}
-
-export { ConeGeometry };

+ 0 - 42
src/geometries/CylinderGeometry.d.ts

@@ -1,42 +0,0 @@
-import { Geometry } from './../core/Geometry';
-
-export class CylinderGeometry extends Geometry {
-
-	/**
-	 * @param [radiusTop=1] — Radius of the cylinder at the top.
-	 * @param [radiusBottom=1] — Radius of the cylinder at the bottom.
-	 * @param [height=1] — Height of the cylinder.
-	 * @param [radialSegments=8] — Number of segmented faces around the circumference of the cylinder.
-	 * @param [heightSegments=1] — Number of rows of faces along the height of the cylinder.
-	 * @param [openEnded=false] - A Boolean indicating whether or not to cap the ends of the cylinder.
-	 * @param [thetaStart=0]
-	 * @param [thetaLength=Math.PI * 2]
-	 */
-	constructor(
-		radiusTop?: number,
-		radiusBottom?: number,
-		height?: number,
-		radialSegments?: number,
-		heightSegments?: number,
-		openEnded?: boolean,
-		thetaStart?: number,
-		thetaLength?: number
-	);
-
-	/**
-	 * @default 'CylinderGeometry'
-	 */
-	type: string;
-
-	parameters: {
-		radiusTop: number;
-		radiusBottom: number;
-		height: number;
-		radialSegments: number;
-		heightSegments: number;
-		openEnded: boolean;
-		thetaStart: number;
-		thetaLength: number;
-	};
-
-}

+ 0 - 29
src/geometries/CylinderGeometry.js

@@ -1,29 +0,0 @@
-import { Geometry } from '../core/Geometry.js';
-import { CylinderBufferGeometry } from './CylinderBufferGeometry.js';
-
-class CylinderGeometry extends Geometry {
-
-	constructor( radiusTop, radiusBottom, height, radialSegments, heightSegments, openEnded, thetaStart, thetaLength ) {
-
-		super();
-		this.type = 'CylinderGeometry';
-
-		this.parameters = {
-			radiusTop: radiusTop,
-			radiusBottom: radiusBottom,
-			height: height,
-			radialSegments: radialSegments,
-			heightSegments: heightSegments,
-			openEnded: openEnded,
-			thetaStart: thetaStart,
-			thetaLength: thetaLength
-		};
-
-		this.fromBufferGeometry( new CylinderBufferGeometry( radiusTop, radiusBottom, height, radialSegments, heightSegments, openEnded, thetaStart, thetaLength ) );
-		this.mergeVertices();
-
-	}
-
-}
-
-export { CylinderGeometry };

+ 0 - 21
src/geometries/DodecahedronGeometry.d.ts

@@ -1,21 +0,0 @@
-import { Geometry } from './../core/Geometry';
-
-export class DodecahedronGeometry extends Geometry {
-
-	/**
-	 * @param [radius=1]
-	 * @param [detail=0]
-	 */
-	constructor( radius?: number, detail?: number );
-
-	/**
-	 * @default 'DodecahedronGeometry'
-	 */
-	type: string;
-
-	parameters: {
-		radius: number;
-		detail: number;
-	};
-
-}

+ 0 - 23
src/geometries/DodecahedronGeometry.js

@@ -1,23 +0,0 @@
-import { Geometry } from '../core/Geometry.js';
-import { DodecahedronBufferGeometry } from './DodecahedronBufferGeometry.js';
-
-class DodecahedronGeometry extends Geometry {
-
-	constructor( radius, detail ) {
-
-		super();
-		this.type = 'DodecahedronGeometry';
-
-		this.parameters = {
-			radius: radius,
-			detail: detail
-		};
-
-		this.fromBufferGeometry( new DodecahedronBufferGeometry( radius, detail ) );
-		this.mergeVertices();
-
-	}
-
-}
-
-export { DodecahedronGeometry };

+ 0 - 17
src/geometries/ExtrudeGeometry.d.ts

@@ -1,17 +0,0 @@
-import { Shape } from './../extras/core/Shape';
-import { Geometry } from './../core/Geometry';
-import { ExtrudeGeometryOptions } from './ExtrudeBufferGeometry';
-
-export class ExtrudeGeometry extends Geometry {
-
-	constructor( shapes: Shape | Shape[], options?: ExtrudeGeometryOptions );
-
-	/**
-	 * @default 'ExtrudeGeometry'
-	 */
-	type: string;
-
-	addShapeList( shapes: Shape[], options?: any ): void;
-	addShape( shape: Shape, options?: any ): void;
-
-}

+ 0 - 83
src/geometries/ExtrudeGeometry.js

@@ -1,83 +0,0 @@
-/**
- * Creates extruded geometry from a path shape.
- *
- * parameters = {
- *
- *  curveSegments: <int>, // number of points on the curves
- *  steps: <int>, // number of points for z-side extrusions / used for subdividing segments of extrude spline too
- *  depth: <float>, // Depth to extrude the shape
- *
- *  bevelEnabled: <bool>, // turn on bevel
- *  bevelThickness: <float>, // how deep into the original shape bevel goes
- *  bevelSize: <float>, // how far from shape outline (including bevelOffset) is bevel
- *  bevelOffset: <float>, // how far from shape outline does bevel start
- *  bevelSegments: <int>, // number of bevel layers
- *
- *  extrudePath: <THREE.Curve> // curve to extrude shape along
- *
- *  UVGenerator: <Object> // object that provides UV generator functions
- *
- * }
- */
-
-import { Geometry } from '../core/Geometry.js';
-import { ExtrudeBufferGeometry } from './ExtrudeBufferGeometry.js';
-
-class ExtrudeGeometry extends Geometry {
-
-	constructor( shapes, options ) {
-
-		super();
-
-		this.type = 'ExtrudeGeometry';
-
-		this.parameters = {
-			shapes: shapes,
-			options: options
-		};
-
-		this.fromBufferGeometry( new ExtrudeBufferGeometry( shapes, options ) );
-		this.mergeVertices();
-
-	}
-
-	toJSON() {
-
-		const data = super.toJSON();
-
-		const shapes = this.parameters.shapes;
-		const options = this.parameters.options;
-
-		return toJSON( shapes, options, data );
-
-	}
-
-}
-
-function toJSON( shapes, options, data ) {
-
-	data.shapes = [];
-
-	if ( Array.isArray( shapes ) ) {
-
-		for ( let i = 0, l = shapes.length; i < l; i ++ ) {
-
-			const shape = shapes[ i ];
-
-			data.shapes.push( shape.uuid );
-
-		}
-
-	} else {
-
-		data.shapes.push( shapes.uuid );
-
-	}
-
-	if ( options.extrudePath !== undefined ) data.options.extrudePath = options.extrudePath.toJSON();
-
-	return data;
-
-}
-
-export { ExtrudeGeometry };

+ 0 - 20
src/geometries/Geometries.js

@@ -1,42 +1,22 @@
-export { BoxGeometry } from './BoxGeometry.js';
 export { BoxBufferGeometry } from './BoxBufferGeometry.js';
-export { CircleGeometry } from './CircleGeometry.js';
 export { CircleBufferGeometry } from './CircleBufferGeometry.js';
-export { ConeGeometry } from './ConeGeometry.js';
 export { ConeBufferGeometry } from './ConeBufferGeometry.js';
-export { CylinderGeometry } from './CylinderGeometry.js';
 export { CylinderBufferGeometry } from './CylinderBufferGeometry.js';
-export { DodecahedronGeometry } from './DodecahedronGeometry.js';
 export { DodecahedronBufferGeometry } from './DodecahedronBufferGeometry.js';
 export { EdgesGeometry } from './EdgesGeometry.js';
-export { ExtrudeGeometry } from './ExtrudeGeometry.js';
 export { ExtrudeBufferGeometry } from './ExtrudeBufferGeometry.js';
-export { IcosahedronGeometry } from './IcosahedronGeometry.js';
 export { IcosahedronBufferGeometry } from './IcosahedronBufferGeometry.js';
-export { LatheGeometry } from './LatheGeometry.js';
 export { LatheBufferGeometry } from './LatheBufferGeometry.js';
-export { OctahedronGeometry } from './OctahedronGeometry.js';
 export { OctahedronBufferGeometry } from './OctahedronBufferGeometry.js';
-export { ParametricGeometry } from './ParametricGeometry.js';
 export { ParametricBufferGeometry } from './ParametricBufferGeometry.js';
-export { PlaneGeometry } from './PlaneGeometry.js';
 export { PlaneBufferGeometry } from './PlaneBufferGeometry.js';
-export { PolyhedronGeometry } from './PolyhedronGeometry.js';
 export { PolyhedronBufferGeometry } from './PolyhedronBufferGeometry.js';
-export { RingGeometry } from './RingGeometry.js';
 export { RingBufferGeometry } from './RingBufferGeometry.js';
-export { ShapeGeometry } from './ShapeGeometry.js';
 export { ShapeBufferGeometry } from './ShapeBufferGeometry.js';
-export { SphereGeometry } from './SphereGeometry.js';
 export { SphereBufferGeometry } from './SphereBufferGeometry.js';
-export { TetrahedronGeometry } from './TetrahedronGeometry.js';
 export { TetrahedronBufferGeometry } from './TetrahedronBufferGeometry.js';
-export { TextGeometry } from './TextGeometry.js';
 export { TextBufferGeometry } from './TextBufferGeometry.js';
-export { TorusGeometry } from './TorusGeometry.js';
 export { TorusBufferGeometry } from './TorusBufferGeometry.js';
-export { TorusKnotGeometry } from './TorusKnotGeometry.js';
 export { TorusKnotBufferGeometry } from './TorusKnotBufferGeometry.js';
-export { TubeGeometry } from './TubeGeometry.js';
 export { TubeBufferGeometry } from './TubeBufferGeometry.js';
 export { WireframeGeometry } from './WireframeGeometry.js';

+ 0 - 16
src/geometries/IcosahedronGeometry.d.ts

@@ -1,16 +0,0 @@
-import { Geometry } from './../core/Geometry';
-
-export class IcosahedronGeometry extends Geometry {
-
-	/**
-	 * @param [radius=1]
-	 * @param [detail=0]
-	 */
-	constructor( radius?: number, detail?: number );
-
-	/**
-	 * @default 'IcosahedronGeometry'
-	 */
-	type: string;
-
-}

+ 0 - 24
src/geometries/IcosahedronGeometry.js

@@ -1,24 +0,0 @@
-import { Geometry } from '../core/Geometry.js';
-import { IcosahedronBufferGeometry } from './IcosahedronBufferGeometry.js';
-
-class IcosahedronGeometry extends Geometry {
-
-	constructor( radius, detail ) {
-
-		super();
-
-		this.type = 'IcosahedronGeometry';
-
-		this.parameters = {
-			radius: radius,
-			detail: detail
-		};
-
-		this.fromBufferGeometry( new IcosahedronBufferGeometry( radius, detail ) );
-		this.mergeVertices();
-
-	}
-
-}
-
-export { IcosahedronGeometry };

+ 0 - 32
src/geometries/LatheGeometry.d.ts

@@ -1,32 +0,0 @@
-import { Vector2 } from './../math/Vector2';
-import { Geometry } from './../core/Geometry';
-
-export class LatheGeometry extends Geometry {
-
-	/**
-	 * @param points
-	 * @param [segments=12]
-	 * @param [phiStart=0]
-	 * @param [phiLength=Math.PI * 2]
-	 */
-	constructor(
-		points: Vector2[],
-		segments?: number,
-		phiStart?: number,
-		phiLength?: number
-	);
-
-
-	/**
-	 * @default 'LatheGeometry'
-	 */
-	type: string;
-
-	parameters: {
-		points: Vector2[];
-		segments: number;
-		phiStart: number;
-		phiLength: number;
-	};
-
-}

+ 0 - 26
src/geometries/LatheGeometry.js

@@ -1,26 +0,0 @@
-import { Geometry } from '../core/Geometry.js';
-import { LatheBufferGeometry } from './LatheBufferGeometry.js';
-
-class LatheGeometry extends Geometry {
-
-	constructor( points, segments, phiStart, phiLength ) {
-
-		super();
-
-		this.type = 'LatheGeometry';
-
-		this.parameters = {
-			points: points,
-			segments: segments,
-			phiStart: phiStart,
-			phiLength: phiLength
-		};
-
-		this.fromBufferGeometry( new LatheBufferGeometry( points, segments, phiStart, phiLength ) );
-		this.mergeVertices();
-
-	}
-
-}
-
-export { LatheGeometry };

+ 0 - 16
src/geometries/OctahedronGeometry.d.ts

@@ -1,16 +0,0 @@
-import { Geometry } from './../core/Geometry';
-
-export class OctahedronGeometry extends Geometry {
-
-	/**
-	 * @param [radius=1]
-	 * @param [detail=0]
-	 */
-	constructor( radius?: number, detail?: number );
-
-	/**
-	 * @default 'OctahedronGeometry'
-	 */
-	type: string;
-
-}

+ 0 - 24
src/geometries/OctahedronGeometry.js

@@ -1,24 +0,0 @@
-import { Geometry } from '../core/Geometry.js';
-import { OctahedronBufferGeometry } from './OctahedronBufferGeometry.js';
-
-class OctahedronGeometry extends Geometry {
-
-	constructor( radius, detail ) {
-
-		super();
-
-		this.type = 'OctahedronGeometry';
-
-		this.parameters = {
-			radius: radius,
-			detail: detail
-		};
-
-		this.fromBufferGeometry( new OctahedronBufferGeometry( radius, detail ) );
-		this.mergeVertices();
-
-	}
-
-}
-
-export { OctahedronGeometry };

+ 0 - 23
src/geometries/ParametricGeometry.d.ts

@@ -1,23 +0,0 @@
-import { Vector3 } from './../math/Vector3';
-import { Geometry } from './../core/Geometry';
-
-export class ParametricGeometry extends Geometry {
-
-	constructor(
-		func: ( u: number, v: number, dest: Vector3 ) => void,
-		slices: number,
-		stacks: number
-	);
-
-	/**
-	 * @default 'ParametricGeometry'
-	 */
-	type: string;
-
-	parameters: {
-		func: ( u: number, v: number, dest: Vector3 ) => void;
-		slices: number;
-		stacks: number;
-	};
-
-}

+ 0 - 30
src/geometries/ParametricGeometry.js

@@ -1,30 +0,0 @@
-/**
- * Parametric Surfaces Geometry
- * based on the brilliant article by @prideout https://prideout.net/blog/old/blog/index.html@p=44.html
- */
-
-import { Geometry } from '../core/Geometry.js';
-import { ParametricBufferGeometry } from './ParametricBufferGeometry.js';
-
-function ParametricGeometry( func, slices, stacks ) {
-
-	Geometry.call( this );
-
-	this.type = 'ParametricGeometry';
-
-	this.parameters = {
-		func: func,
-		slices: slices,
-		stacks: stacks
-	};
-
-	this.fromBufferGeometry( new ParametricBufferGeometry( func, slices, stacks ) );
-	this.mergeVertices();
-
-}
-
-ParametricGeometry.prototype = Object.create( Geometry.prototype );
-ParametricGeometry.prototype.constructor = ParametricGeometry;
-
-
-export { ParametricGeometry };

+ 0 - 30
src/geometries/PlaneGeometry.d.ts

@@ -1,30 +0,0 @@
-import { Geometry } from './../core/Geometry';
-
-export class PlaneGeometry extends Geometry {
-
-	/**
-	 * @param [width=1] — Width of the sides on the X axis.
-	 * @param [height=1] — Height of the sides on the Y axis.
-	 * @param [widthSegments=1] — Number of segmented faces along the width of the sides.
-	 * @param [heightSegments=1] — Number of segmented faces along the height of the sides.
-	 */
-	constructor(
-		width?: number,
-		height?: number,
-		widthSegments?: number,
-		heightSegments?: number
-	);
-
-	/**
-	 * @default 'PlaneGeometry'
-	 */
-	type: string;
-
-	parameters: {
-		width: number;
-		height: number;
-		widthSegments: number;
-		heightSegments: number;
-	};
-
-}

+ 0 - 26
src/geometries/PlaneGeometry.js

@@ -1,26 +0,0 @@
-import { Geometry } from '../core/Geometry.js';
-import { PlaneBufferGeometry } from './PlaneBufferGeometry.js';
-
-class PlaneGeometry extends Geometry {
-
-	constructor( width, height, widthSegments, heightSegments ) {
-
-		super();
-
-		this.type = 'PlaneGeometry';
-
-		this.parameters = {
-			width: width,
-			height: height,
-			widthSegments: widthSegments,
-			heightSegments: heightSegments
-		};
-
-		this.fromBufferGeometry( new PlaneBufferGeometry( width, height, widthSegments, heightSegments ) );
-		this.mergeVertices();
-
-	}
-
-}
-
-export { PlaneGeometry };

+ 0 - 30
src/geometries/PolyhedronGeometry.d.ts

@@ -1,30 +0,0 @@
-import { Geometry } from './../core/Geometry';
-
-export class PolyhedronGeometry extends Geometry {
-
-	/**
-	 * @param vertices
-	 * @param indices
-	 * @param [radius=1]
-	 * @param [detail=0]
-	 */
-	constructor(
-		vertices: number[],
-		indices: number[],
-		radius?: number,
-		detail?: number
-	);
-
-	/**
-	 * @default 'PolyhedronGeometry'
-	 */
-	type: string;
-
-	parameters: {
-		vertices: number[];
-		indices: number[];
-		radius: number;
-		detail: number;
-	};
-
-}

+ 0 - 26
src/geometries/PolyhedronGeometry.js

@@ -1,26 +0,0 @@
-import { Geometry } from '../core/Geometry.js';
-import { PolyhedronBufferGeometry } from './PolyhedronBufferGeometry.js';
-
-class PolyhedronGeometry extends Geometry {
-
-	constructor( vertices, indices, radius, detail ) {
-
-		super();
-
-		this.type = 'PolyhedronGeometry';
-
-		this.parameters = {
-			vertices: vertices,
-			indices: indices,
-			radius: radius,
-			detail: detail
-		};
-
-		this.fromBufferGeometry( new PolyhedronBufferGeometry( vertices, indices, radius, detail ) );
-		this.mergeVertices();
-
-	}
-
-}
-
-export { PolyhedronGeometry };

+ 0 - 36
src/geometries/RingGeometry.d.ts

@@ -1,36 +0,0 @@
-import { Geometry } from './../core/Geometry';
-
-export class RingGeometry extends Geometry {
-
-	/**
-	 * @param [innerRadius=0.5]
-	 * @param [outerRadius=1]
-	 * @param [thetaSegments=8]
-	 * @param [phiSegments=1]
-	 * @param [thetaStart=0]
-	 * @param [thetaLength=Math.PI * 2]
-	 */
-	constructor(
-		innerRadius?: number,
-		outerRadius?: number,
-		thetaSegments?: number,
-		phiSegments?: number,
-		thetaStart?: number,
-		thetaLength?: number
-	);
-
-	/**
-	 * @default 'RingGeometry'
-	 */
-	type: string;
-
-	parameters: {
-		innerRadius: number;
-		outerRadius: number;
-		thetaSegments: number;
-		phiSegments: number;
-		thetaStart: number;
-		thetaLength: number;
-	};
-
-}

+ 0 - 28
src/geometries/RingGeometry.js

@@ -1,28 +0,0 @@
-import { Geometry } from '../core/Geometry.js';
-import { RingBufferGeometry } from './RingBufferGeometry.js';
-
-class RingGeometry extends Geometry {
-
-	constructor( innerRadius, outerRadius, thetaSegments, phiSegments, thetaStart, thetaLength ) {
-
-		super();
-
-		this.type = 'RingGeometry';
-
-		this.parameters = {
-			innerRadius: innerRadius,
-			outerRadius: outerRadius,
-			thetaSegments: thetaSegments,
-			phiSegments: phiSegments,
-			thetaStart: thetaStart,
-			thetaLength: thetaLength
-		};
-
-		this.fromBufferGeometry( new RingBufferGeometry( innerRadius, outerRadius, thetaSegments, phiSegments, thetaStart, thetaLength ) );
-		this.mergeVertices();
-
-	}
-
-}
-
-export { RingGeometry };

+ 0 - 20
src/geometries/ShapeGeometry.d.ts

@@ -1,20 +0,0 @@
-import { Shape } from './../extras/core/Shape';
-import { Geometry } from './../core/Geometry';
-
-export class ShapeGeometry extends Geometry {
-
-	/**
-	 * @param shapes
-	 * @param [curveSegments=12]
-	 */
-	constructor( shapes: Shape | Shape[], curveSegments?: number );
-
-	/**
-	 * @default 'ShapeGeometry'
-	 */
-	type: string;
-
-	addShapeList( shapes: Shape[], options: any ): ShapeGeometry;
-	addShape( shape: Shape, options?: any ): void;
-
-}

+ 0 - 65
src/geometries/ShapeGeometry.js

@@ -1,65 +0,0 @@
-import { Geometry } from '../core/Geometry.js';
-import { ShapeBufferGeometry } from './ShapeBufferGeometry.js';
-
-class ShapeGeometry extends Geometry {
-
-	constructor( shapes, curveSegments ) {
-
-		super();
-		this.type = 'ShapeGeometry';
-
-		if ( typeof curveSegments === 'object' ) {
-
-			console.warn( 'THREE.ShapeGeometry: Options parameter has been removed.' );
-
-			curveSegments = curveSegments.curveSegments;
-
-		}
-
-		this.parameters = {
-			shapes: shapes,
-			curveSegments: curveSegments
-		};
-
-		this.fromBufferGeometry( new ShapeBufferGeometry( shapes, curveSegments ) );
-		this.mergeVertices();
-
-	}
-
-	toJSON() {
-
-		const data = Geometry.prototype.toJSON.call( this );
-
-		const shapes = this.parameters.shapes;
-
-		return toJSON( shapes, data );
-
-	}
-
-}
-
-function toJSON( shapes, data ) {
-
-	data.shapes = [];
-
-	if ( Array.isArray( shapes ) ) {
-
-		for ( let i = 0, l = shapes.length; i < l; i ++ ) {
-
-			const shape = shapes[ i ];
-
-			data.shapes.push( shape.uuid );
-
-		}
-
-	} else {
-
-		data.shapes.push( shapes.uuid );
-
-	}
-
-	return data;
-
-}
-
-export { ShapeGeometry };

+ 0 - 39
src/geometries/SphereGeometry.d.ts

@@ -1,39 +0,0 @@
-import { Geometry } from './../core/Geometry';
-
-export class SphereGeometry extends Geometry {
-
-	/**
-	 * @param [radius=50] — sphere radius. Default is 50.
-	 * @param [widthSegments=8] — number of horizontal segments. Minimum value is 3, and the default is 8.
-	 * @param [heightSegments=6] — number of vertical segments. Minimum value is 2, and the default is 6.
-	 * @param [phiStart=0] — specify horizontal starting angle. Default is 0.
-	 * @param [phiLength=Math.PI * 2] — specify horizontal sweep angle size. Default is Math.PI * 2.
-	 * @param [thetaStart=0] — specify vertical starting angle. Default is 0.
-	 * @param [thetaLength=Math.PI * 2] — specify vertical sweep angle size. Default is Math.PI.
-	 */
-	constructor(
-		radius?: number,
-		widthSegments?: number,
-		heightSegments?: number,
-		phiStart?: number,
-		phiLength?: number,
-		thetaStart?: number,
-		thetaLength?: number
-	);
-
-	/**
-	 * @default 'SphereGeometry'
-	 */
-	type: string;
-
-	parameters: {
-		radius: number;
-		widthSegments: number;
-		heightSegments: number;
-		phiStart: number;
-		phiLength: number;
-		thetaStart: number;
-		thetaLength: number;
-	};
-
-}

+ 0 - 28
src/geometries/SphereGeometry.js

@@ -1,28 +0,0 @@
-import { Geometry } from '../core/Geometry.js';
-import { SphereBufferGeometry } from './SphereBufferGeometry.js';
-
-class SphereGeometry extends Geometry {
-
-	constructor( radius, widthSegments, heightSegments, phiStart, phiLength, thetaStart, thetaLength ) {
-
-		super();
-		this.type = 'SphereGeometry';
-
-		this.parameters = {
-			radius: radius,
-			widthSegments: widthSegments,
-			heightSegments: heightSegments,
-			phiStart: phiStart,
-			phiLength: phiLength,
-			thetaStart: thetaStart,
-			thetaLength: thetaLength
-		};
-
-		this.fromBufferGeometry( new SphereBufferGeometry( radius, widthSegments, heightSegments, phiStart, phiLength, thetaStart, thetaLength ) );
-		this.mergeVertices();
-
-	}
-
-}
-
-export { SphereGeometry };

+ 0 - 16
src/geometries/TetrahedronGeometry.d.ts

@@ -1,16 +0,0 @@
-import { Geometry } from './../core/Geometry';
-
-export class TetrahedronGeometry extends Geometry {
-
-	/**
-	 * @param [radius=1]
-	 * @param [detail=0]
-	 */
-	constructor( radius?: number, detail?: number );
-
-	/**
-	 * @default 'TetrahedronGeometry'
-	 */
-	type: string;
-
-}

+ 0 - 23
src/geometries/TetrahedronGeometry.js

@@ -1,23 +0,0 @@
-import { Geometry } from '../core/Geometry.js';
-import { TetrahedronBufferGeometry } from './TetrahedronBufferGeometry.js';
-
-class TetrahedronGeometry extends Geometry {
-
-	constructor( radius, detail ) {
-
-		super();
-		this.type = 'TetrahedronGeometry';
-
-		this.parameters = {
-			radius: radius,
-			detail: detail
-		};
-
-		this.fromBufferGeometry( new TetrahedronBufferGeometry( radius, detail ) );
-		this.mergeVertices();
-
-	}
-
-}
-
-export { TetrahedronGeometry };

+ 0 - 38
src/geometries/TextGeometry.d.ts

@@ -1,38 +0,0 @@
-import { Font } from './../extras/core/Font';
-import { Geometry } from './../core/Geometry';
-import { TextGeometryParameters } from './TextBufferGeometry';
-
-export class TextGeometry extends Geometry {
-
-	constructor( text: string, parameters: TextGeometryParameters );
-
-	/**
-	 * @default 'TextGeometry'
-	 */
-	type: string;
-
-	parameters: {
-		font: Font;
-		size: number;
-		/**
-		 * @default 50
-		 */
-		height: number;
-		curveSegments: number;
-		/**
-		 * @default false
-		 */
-		bevelEnabled: boolean;
-		/**
-		 * @default 10
-		 */
-		bevelThickness: number;
-		/**
-		 * @default 8
-		 */
-		bevelSize: number;
-		bevelOffset: number;
-		bevelSegments: number;
-	};
-
-}

+ 0 - 40
src/geometries/TextGeometry.js

@@ -1,40 +0,0 @@
-/**
- * Text = 3D Text
- *
- * parameters = {
- *  font: <THREE.Font>, // font
- *
- *  size: <float>, // size of the text
- *  height: <float>, // thickness to extrude text
- *  curveSegments: <int>, // number of points on the curves
- *
- *  bevelEnabled: <bool>, // turn on bevel
- *  bevelThickness: <float>, // how deep into text bevel goes
- *  bevelSize: <float>, // how far from text outline (including bevelOffset) is bevel
- *  bevelOffset: <float> // how far from text outline does bevel start
- * }
- */
-
-import { Geometry } from '../core/Geometry.js';
-import { TextBufferGeometry } from './TextBufferGeometry.js';
-
-class TextGeometry extends Geometry {
-
-	constructor( text, parameters ) {
-
-		super();
-		this.type = 'TextGeometry';
-
-		this.parameters = {
-			text: text,
-			parameters: parameters
-		};
-
-		this.fromBufferGeometry( new TextBufferGeometry( text, parameters ) );
-		this.mergeVertices();
-
-	}
-
-}
-
-export { TextGeometry };

+ 0 - 33
src/geometries/TorusGeometry.d.ts

@@ -1,33 +0,0 @@
-import { Geometry } from './../core/Geometry';
-
-export class TorusGeometry extends Geometry {
-
-	/**
-	 * @param [radius=1]
-	 * @param [tube=0.4]
-	 * @param [radialSegments=8]
-	 * @param [tubularSegments=6]
-	 * @param [arc=Math.PI * 2]
-	 */
-	constructor(
-		radius?: number,
-		tube?: number,
-		radialSegments?: number,
-		tubularSegments?: number,
-		arc?: number
-	);
-
-	/**
-	 * @default 'TorusGeometry'
-	 */
-	type: string;
-
-	parameters: {
-		radius: number;
-		tube: number;
-		radialSegments: number;
-		tubularSegments: number;
-		arc: number;
-	};
-
-}

+ 0 - 26
src/geometries/TorusGeometry.js

@@ -1,26 +0,0 @@
-import { Geometry } from '../core/Geometry.js';
-import { TorusBufferGeometry } from './TorusBufferGeometry.js';
-
-class TorusGeometry extends Geometry {
-
-	constructor( radius, tube, radialSegments, tubularSegments, arc ) {
-
-		super();
-		this.type = 'TorusGeometry';
-
-		this.parameters = {
-			radius: radius,
-			tube: tube,
-			radialSegments: radialSegments,
-			tubularSegments: tubularSegments,
-			arc: arc
-		};
-
-		this.fromBufferGeometry( new TorusBufferGeometry( radius, tube, radialSegments, tubularSegments, arc ) );
-		this.mergeVertices();
-
-	}
-
-}
-
-export { TorusGeometry };

+ 0 - 36
src/geometries/TorusKnotGeometry.d.ts

@@ -1,36 +0,0 @@
-import { Geometry } from './../core/Geometry';
-
-export class TorusKnotGeometry extends Geometry {
-
-	/**
-	 * @param [radius=1]
-	 * @param [tube=0.4]
-	 * @param [radialSegments=64]
-	 * @param [tubularSegments=8]
-	 * @param [p=2]
-	 * @param [q=3]
-	 */
-	constructor(
-		radius?: number,
-		tube?: number,
-		tubularSegments?: number,
-		radialSegments?: number,
-		p?: number,
-		q?: number
-	);
-
-	/**
-	 * @default 'TorusKnotGeometry'
-	 */
-	type: string;
-
-	parameters: {
-		radius: number;
-		tube: number;
-		tubularSegments: number;
-		radialSegments: number;
-		p: number;
-		q: number;
-	};
-
-}

+ 0 - 29
src/geometries/TorusKnotGeometry.js

@@ -1,29 +0,0 @@
-import { Geometry } from '../core/Geometry.js';
-import { TorusKnotBufferGeometry } from './TorusKnotBufferGeometry.js';
-
-class TorusKnotGeometry extends Geometry {
-
-	constructor( radius, tube, tubularSegments, radialSegments, p, q, heightScale ) {
-
-		super();
-		this.type = 'TorusKnotGeometry';
-
-		this.parameters = {
-			radius: radius,
-			tube: tube,
-			tubularSegments: tubularSegments,
-			radialSegments: radialSegments,
-			p: p,
-			q: q
-		};
-
-		if ( heightScale !== undefined ) console.warn( 'THREE.TorusKnotGeometry: heightScale has been deprecated. Use .scale( x, y, z ) instead.' );
-
-		this.fromBufferGeometry( new TorusKnotBufferGeometry( radius, tube, tubularSegments, radialSegments, p, q ) );
-		this.mergeVertices();
-
-	}
-
-}
-
-export { TorusKnotGeometry };

+ 0 - 33
src/geometries/TubeGeometry.d.ts

@@ -1,33 +0,0 @@
-import { Curve } from './../extras/core/Curve';
-import { Vector3 } from './../math/Vector3';
-import { Geometry } from './../core/Geometry';
-
-export class TubeGeometry extends Geometry {
-
-	/**
-	 * @param path
-	 * @param [tubularSegments=64]
-	 * @param [radius=1]
-	 * @param [radiusSegments=8]
-	 * @param [closed=false]
-	 */
-	constructor(
-		path: Curve<Vector3>,
-		tubularSegments?: number,
-		radius?: number,
-		radiusSegments?: number,
-		closed?: boolean
-	);
-
-	parameters: {
-		path: Curve<Vector3>;
-		tubularSegments: number;
-		radius: number;
-		radialSegments: number;
-		closed: boolean;
-	};
-	tangents: Vector3[];
-	normals: Vector3[];
-	binormals: Vector3[];
-
-}

+ 0 - 38
src/geometries/TubeGeometry.js

@@ -1,38 +0,0 @@
-import { Geometry } from '../core/Geometry.js';
-import { TubeBufferGeometry } from './TubeBufferGeometry.js';
-
-class TubeGeometry extends Geometry {
-
-	constructor( path, tubularSegments, radius, radialSegments, closed, taper ) {
-
-		super();
-		this.type = 'TubeGeometry';
-
-		this.parameters = {
-			path: path,
-			tubularSegments: tubularSegments,
-			radius: radius,
-			radialSegments: radialSegments,
-			closed: closed
-		};
-
-		if ( taper !== undefined ) console.warn( 'THREE.TubeGeometry: taper has been removed.' );
-
-		const bufferGeometry = new TubeBufferGeometry( path, tubularSegments, radius, radialSegments, closed );
-
-		// expose internals
-
-		this.tangents = bufferGeometry.tangents;
-		this.normals = bufferGeometry.normals;
-		this.binormals = bufferGeometry.binormals;
-
-		// create geometry
-
-		this.fromBufferGeometry( bufferGeometry );
-		this.mergeVertices();
-
-	}
-
-}
-
-export { TubeGeometry };