|
@@ -15233,9 +15233,13 @@ Mesh.prototype = Object.assign( Object.create( Object3D.prototype ), {
|
|
|
|
|
|
/**
|
|
|
* @author mrdoob / http://mrdoob.com/
|
|
|
+ * @author Mugen87 / https://github.com/Mugen87
|
|
|
+ *
|
|
|
* based on http://papervision3d.googlecode.com/svn/trunk/as3/trunk/src/org/papervision3d/objects/primitives/Cube.as
|
|
|
*/
|
|
|
|
|
|
+// BoxGeometry
|
|
|
+
|
|
|
function BoxGeometry( width, height, depth, widthSegments, heightSegments, depthSegments ) {
|
|
|
|
|
|
Geometry.call( this );
|
|
@@ -15259,9 +15263,7 @@ function BoxGeometry( width, height, depth, widthSegments, heightSegments, depth
|
|
|
BoxGeometry.prototype = Object.create( Geometry.prototype );
|
|
|
BoxGeometry.prototype.constructor = BoxGeometry;
|
|
|
|
|
|
-/**
|
|
|
- * @author Mugen87 / https://github.com/Mugen87
|
|
|
- */
|
|
|
+// BoxBufferGeometry
|
|
|
|
|
|
function BoxBufferGeometry( width, height, depth, widthSegments, heightSegments, depthSegments ) {
|
|
|
|
|
@@ -15425,9 +15427,13 @@ BoxBufferGeometry.prototype.constructor = BoxBufferGeometry;
|
|
|
|
|
|
/**
|
|
|
* @author mrdoob / http://mrdoob.com/
|
|
|
+ * @author Mugen87 / https://github.com/Mugen87
|
|
|
+ *
|
|
|
* based on http://papervision3d.googlecode.com/svn/trunk/as3/trunk/src/org/papervision3d/objects/primitives/Plane.as
|
|
|
*/
|
|
|
|
|
|
+// PlaneGeometry
|
|
|
+
|
|
|
function PlaneGeometry( width, height, widthSegments, heightSegments ) {
|
|
|
|
|
|
Geometry.call( this );
|
|
@@ -15449,12 +15455,7 @@ function PlaneGeometry( width, height, widthSegments, heightSegments ) {
|
|
|
PlaneGeometry.prototype = Object.create( Geometry.prototype );
|
|
|
PlaneGeometry.prototype.constructor = PlaneGeometry;
|
|
|
|
|
|
-/**
|
|
|
- * @author mrdoob / http://mrdoob.com/
|
|
|
- * @author Mugen87 / https://github.com/Mugen87
|
|
|
- *
|
|
|
- * based on http://papervision3d.googlecode.com/svn/trunk/as3/trunk/src/org/papervision3d/objects/primitives/Plane.as
|
|
|
- */
|
|
|
+// PlaneBufferGeometry
|
|
|
|
|
|
function PlaneBufferGeometry( width, height, widthSegments, heightSegments ) {
|
|
|
|
|
@@ -21044,12 +21045,6 @@ function WebGLRenderer( parameters ) {
|
|
|
state.buffers.depth.setMask( true );
|
|
|
state.buffers.color.setMask( true );
|
|
|
|
|
|
- if ( camera.isArrayCamera && camera.enabled ) {
|
|
|
-
|
|
|
- _this.setScissorTest( false );
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
camera.onAfterRender( _this );
|
|
|
|
|
|
// _gl.finish();
|
|
@@ -21226,15 +21221,21 @@ function WebGLRenderer( parameters ) {
|
|
|
|
|
|
var camera2 = cameras[ j ];
|
|
|
var bounds = camera2.bounds;
|
|
|
- _this.setViewport(
|
|
|
- bounds.x * _width * _pixelRatio, bounds.y * _height * _pixelRatio,
|
|
|
- bounds.z * _width * _pixelRatio, bounds.w * _height * _pixelRatio
|
|
|
- );
|
|
|
- _this.setScissor(
|
|
|
- bounds.x * _width * _pixelRatio, bounds.y * _height * _pixelRatio,
|
|
|
- bounds.z * _width * _pixelRatio, bounds.w * _height * _pixelRatio
|
|
|
- );
|
|
|
- _this.setScissorTest( true );
|
|
|
+
|
|
|
+ _currentViewport.set(
|
|
|
+ bounds.x * _width, bounds.y * _height,
|
|
|
+ bounds.z * _width, bounds.w * _height
|
|
|
+ ).multiplyScalar( _pixelRatio );
|
|
|
+
|
|
|
+ _currentScissor.set(
|
|
|
+ bounds.x * _width, bounds.y * _height,
|
|
|
+ bounds.z * _width, bounds.w * _height
|
|
|
+ ).multiplyScalar( _pixelRatio );
|
|
|
+
|
|
|
+ state.viewport( _currentViewport );
|
|
|
+ state.scissor( _currentScissor );
|
|
|
+ state.setScissorTest( true );
|
|
|
+
|
|
|
renderObject( object, scene, camera2, geometry, material, group );
|
|
|
|
|
|
}
|
|
@@ -24312,11 +24313,14 @@ WireframeGeometry.prototype.constructor = WireframeGeometry;
|
|
|
|
|
|
/**
|
|
|
* @author zz85 / https://github.com/zz85
|
|
|
+ * @author Mugen87 / https://github.com/Mugen87
|
|
|
*
|
|
|
* Parametric Surfaces Geometry
|
|
|
* based on the brilliant article by @prideout http://prideout.net/blog/?p=44
|
|
|
*/
|
|
|
|
|
|
+// ParametricGeometry
|
|
|
+
|
|
|
function ParametricGeometry( func, slices, stacks ) {
|
|
|
|
|
|
Geometry.call( this );
|
|
@@ -24337,12 +24341,7 @@ function ParametricGeometry( func, slices, stacks ) {
|
|
|
ParametricGeometry.prototype = Object.create( Geometry.prototype );
|
|
|
ParametricGeometry.prototype.constructor = ParametricGeometry;
|
|
|
|
|
|
-/**
|
|
|
- * @author Mugen87 / https://github.com/Mugen87
|
|
|
- *
|
|
|
- * Parametric Surfaces Geometry
|
|
|
- * based on the brilliant article by @prideout http://prideout.net/blog/?p=44
|
|
|
- */
|
|
|
+// ParametricBufferGeometry
|
|
|
|
|
|
function ParametricBufferGeometry( func, slices, stacks ) {
|
|
|
|
|
@@ -24466,7 +24465,10 @@ ParametricBufferGeometry.prototype.constructor = ParametricBufferGeometry;
|
|
|
* @author clockworkgeek / https://github.com/clockworkgeek
|
|
|
* @author timothypratley / https://github.com/timothypratley
|
|
|
* @author WestLangley / http://github.com/WestLangley
|
|
|
-*/
|
|
|
+ * @author Mugen87 / https://github.com/Mugen87
|
|
|
+ */
|
|
|
+
|
|
|
+// PolyhedronGeometry
|
|
|
|
|
|
function PolyhedronGeometry( vertices, indices, radius, detail ) {
|
|
|
|
|
@@ -24489,9 +24491,7 @@ function PolyhedronGeometry( vertices, indices, radius, detail ) {
|
|
|
PolyhedronGeometry.prototype = Object.create( Geometry.prototype );
|
|
|
PolyhedronGeometry.prototype.constructor = PolyhedronGeometry;
|
|
|
|
|
|
-/**
|
|
|
- * @author Mugen87 / https://github.com/Mugen87
|
|
|
- */
|
|
|
+// PolyhedronBufferGeometry
|
|
|
|
|
|
function PolyhedronBufferGeometry( vertices, indices, radius, detail ) {
|
|
|
|
|
@@ -24787,8 +24787,11 @@ PolyhedronBufferGeometry.prototype.constructor = PolyhedronBufferGeometry;
|
|
|
|
|
|
/**
|
|
|
* @author timothypratley / https://github.com/timothypratley
|
|
|
+ * @author Mugen87 / https://github.com/Mugen87
|
|
|
*/
|
|
|
|
|
|
+// TetrahedronGeometry
|
|
|
+
|
|
|
function TetrahedronGeometry( radius, detail ) {
|
|
|
|
|
|
Geometry.call( this );
|
|
@@ -24808,9 +24811,7 @@ function TetrahedronGeometry( radius, detail ) {
|
|
|
TetrahedronGeometry.prototype = Object.create( Geometry.prototype );
|
|
|
TetrahedronGeometry.prototype.constructor = TetrahedronGeometry;
|
|
|
|
|
|
-/**
|
|
|
- * @author Mugen87 / https://github.com/Mugen87
|
|
|
- */
|
|
|
+// TetrahedronBufferGeometry
|
|
|
|
|
|
function TetrahedronBufferGeometry( radius, detail ) {
|
|
|
|
|
@@ -24838,8 +24839,11 @@ TetrahedronBufferGeometry.prototype.constructor = TetrahedronBufferGeometry;
|
|
|
|
|
|
/**
|
|
|
* @author timothypratley / https://github.com/timothypratley
|
|
|
+ * @author Mugen87 / https://github.com/Mugen87
|
|
|
*/
|
|
|
|
|
|
+// OctahedronGeometry
|
|
|
+
|
|
|
function OctahedronGeometry( radius, detail ) {
|
|
|
|
|
|
Geometry.call( this );
|
|
@@ -24859,9 +24863,7 @@ function OctahedronGeometry( radius, detail ) {
|
|
|
OctahedronGeometry.prototype = Object.create( Geometry.prototype );
|
|
|
OctahedronGeometry.prototype.constructor = OctahedronGeometry;
|
|
|
|
|
|
-/**
|
|
|
- * @author Mugen87 / https://github.com/Mugen87
|
|
|
- */
|
|
|
+// OctahedronBufferGeometry
|
|
|
|
|
|
function OctahedronBufferGeometry( radius, detail ) {
|
|
|
|
|
@@ -24889,8 +24891,11 @@ OctahedronBufferGeometry.prototype.constructor = OctahedronBufferGeometry;
|
|
|
|
|
|
/**
|
|
|
* @author timothypratley / https://github.com/timothypratley
|
|
|
+ * @author Mugen87 / https://github.com/Mugen87
|
|
|
*/
|
|
|
|
|
|
+// IcosahedronGeometry
|
|
|
+
|
|
|
function IcosahedronGeometry( radius, detail ) {
|
|
|
|
|
|
Geometry.call( this );
|
|
@@ -24910,9 +24915,7 @@ function IcosahedronGeometry( radius, detail ) {
|
|
|
IcosahedronGeometry.prototype = Object.create( Geometry.prototype );
|
|
|
IcosahedronGeometry.prototype.constructor = IcosahedronGeometry;
|
|
|
|
|
|
-/**
|
|
|
- * @author Mugen87 / https://github.com/Mugen87
|
|
|
- */
|
|
|
+// IcosahedronBufferGeometry
|
|
|
|
|
|
function IcosahedronBufferGeometry( radius, detail ) {
|
|
|
|
|
@@ -24947,8 +24950,11 @@ IcosahedronBufferGeometry.prototype.constructor = IcosahedronBufferGeometry;
|
|
|
|
|
|
/**
|
|
|
* @author Abe Pazos / https://hamoid.com
|
|
|
+ * @author Mugen87 / https://github.com/Mugen87
|
|
|
*/
|
|
|
|
|
|
+// DodecahedronGeometry
|
|
|
+
|
|
|
function DodecahedronGeometry( radius, detail ) {
|
|
|
|
|
|
Geometry.call( this );
|
|
@@ -24968,9 +24974,7 @@ function DodecahedronGeometry( radius, detail ) {
|
|
|
DodecahedronGeometry.prototype = Object.create( Geometry.prototype );
|
|
|
DodecahedronGeometry.prototype.constructor = DodecahedronGeometry;
|
|
|
|
|
|
-/**
|
|
|
- * @author Mugen87 / https://github.com/Mugen87
|
|
|
- */
|
|
|
+// DodecahedronBufferGeometry
|
|
|
|
|
|
function DodecahedronBufferGeometry( radius, detail ) {
|
|
|
|
|
@@ -25033,10 +25037,12 @@ DodecahedronBufferGeometry.prototype.constructor = DodecahedronBufferGeometry;
|
|
|
* @author zz85 / https://github.com/zz85
|
|
|
* @author miningold / https://github.com/miningold
|
|
|
* @author jonobr1 / https://github.com/jonobr1
|
|
|
+ * @author Mugen87 / https://github.com/Mugen87
|
|
|
*
|
|
|
- * Creates a tube which extrudes along a 3d spline.
|
|
|
*/
|
|
|
|
|
|
+// TubeGeometry
|
|
|
+
|
|
|
function TubeGeometry( path, tubularSegments, radius, radialSegments, closed, taper ) {
|
|
|
|
|
|
Geometry.call( this );
|
|
@@ -25071,9 +25077,7 @@ function TubeGeometry( path, tubularSegments, radius, radialSegments, closed, ta
|
|
|
TubeGeometry.prototype = Object.create( Geometry.prototype );
|
|
|
TubeGeometry.prototype.constructor = TubeGeometry;
|
|
|
|
|
|
-/**
|
|
|
- * @author Mugen87 / https://github.com/Mugen87
|
|
|
- */
|
|
|
+// TubeBufferGeometry
|
|
|
|
|
|
function TubeBufferGeometry( path, tubularSegments, radius, radialSegments, closed ) {
|
|
|
|
|
@@ -25243,8 +25247,13 @@ TubeBufferGeometry.prototype.constructor = TubeBufferGeometry;
|
|
|
|
|
|
/**
|
|
|
* @author oosmoxiecode
|
|
|
+ * @author Mugen87 / https://github.com/Mugen87
|
|
|
+ *
|
|
|
+ * based on http://www.blackpawn.com/texts/pqtorus/
|
|
|
*/
|
|
|
|
|
|
+// TorusKnotGeometry
|
|
|
+
|
|
|
function TorusKnotGeometry( radius, tube, tubularSegments, radialSegments, p, q, heightScale ) {
|
|
|
|
|
|
Geometry.call( this );
|
|
@@ -25270,10 +25279,7 @@ function TorusKnotGeometry( radius, tube, tubularSegments, radialSegments, p, q,
|
|
|
TorusKnotGeometry.prototype = Object.create( Geometry.prototype );
|
|
|
TorusKnotGeometry.prototype.constructor = TorusKnotGeometry;
|
|
|
|
|
|
-/**
|
|
|
- * @author Mugen87 / https://github.com/Mugen87
|
|
|
- * see: http://www.blackpawn.com/texts/pqtorus/
|
|
|
- */
|
|
|
+// TorusKnotBufferGeometry
|
|
|
|
|
|
function TorusKnotBufferGeometry( radius, tube, tubularSegments, radialSegments, p, q ) {
|
|
|
|
|
@@ -25429,9 +25435,13 @@ TorusKnotBufferGeometry.prototype.constructor = TorusKnotBufferGeometry;
|
|
|
/**
|
|
|
* @author oosmoxiecode
|
|
|
* @author mrdoob / http://mrdoob.com/
|
|
|
+ * @author Mugen87 / https://github.com/Mugen87
|
|
|
+ *
|
|
|
* based on http://code.google.com/p/away3d/source/browse/trunk/fp10/Away3DLite/src/away3dlite/primitives/Torus.as?r=2888
|
|
|
*/
|
|
|
|
|
|
+// TorusGeometry
|
|
|
+
|
|
|
function TorusGeometry( radius, tube, radialSegments, tubularSegments, arc ) {
|
|
|
|
|
|
Geometry.call( this );
|
|
@@ -25454,9 +25464,7 @@ function TorusGeometry( radius, tube, radialSegments, tubularSegments, arc ) {
|
|
|
TorusGeometry.prototype = Object.create( Geometry.prototype );
|
|
|
TorusGeometry.prototype.constructor = TorusGeometry;
|
|
|
|
|
|
-/**
|
|
|
- * @author Mugen87 / https://github.com/Mugen87
|
|
|
- */
|
|
|
+// TorusBufferGeometry
|
|
|
|
|
|
function TorusBufferGeometry( radius, tube, radialSegments, tubularSegments, arc ) {
|
|
|
|
|
@@ -26276,9 +26284,11 @@ var ShapeUtils = {
|
|
|
* UVGenerator: <Object> // object that provides UV generator functions
|
|
|
*
|
|
|
* }
|
|
|
- **/
|
|
|
-
|
|
|
- function ExtrudeGeometry( shapes, options ) {
|
|
|
+ */
|
|
|
+
|
|
|
+// ExtrudeGeometry
|
|
|
+
|
|
|
+function ExtrudeGeometry( shapes, options ) {
|
|
|
|
|
|
Geometry.call( this );
|
|
|
|
|
@@ -26294,11 +26304,10 @@ var ShapeUtils = {
|
|
|
|
|
|
}
|
|
|
|
|
|
-
|
|
|
ExtrudeGeometry.prototype = Object.create( Geometry.prototype );
|
|
|
ExtrudeGeometry.prototype.constructor = ExtrudeGeometry;
|
|
|
|
|
|
-
|
|
|
+// ExtrudeBufferGeometry
|
|
|
|
|
|
function ExtrudeBufferGeometry( shapes, options ) {
|
|
|
|
|
@@ -26815,7 +26824,7 @@ ExtrudeBufferGeometry.prototype.addShape = function ( shape, options ) {
|
|
|
///// Internal functions
|
|
|
|
|
|
function buildLidFaces() {
|
|
|
-
|
|
|
+
|
|
|
var start = verticesArray.length/3;
|
|
|
|
|
|
if ( bevelEnabled ) {
|
|
@@ -26865,7 +26874,7 @@ ExtrudeBufferGeometry.prototype.addShape = function ( shape, options ) {
|
|
|
}
|
|
|
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
scope.addGroup( start, verticesArray.length/3 -start, options.material !== undefined ? options.material : 0);
|
|
|
|
|
|
}
|
|
@@ -26888,7 +26897,7 @@ ExtrudeBufferGeometry.prototype.addShape = function ( shape, options ) {
|
|
|
layeroffset += ahole.length;
|
|
|
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
|
|
|
scope.addGroup( start, verticesArray.length/3 -start, options.extrudeMaterial !== undefined ? options.extrudeMaterial : 1);
|
|
|
|
|
@@ -27079,7 +27088,8 @@ ExtrudeGeometry.WorldUVGenerator = {
|
|
|
* bevelSize: <float> // how far from text outline is bevel
|
|
|
* }
|
|
|
*/
|
|
|
-
|
|
|
+
|
|
|
+// TextGeometry
|
|
|
|
|
|
function TextGeometry( text, parameters ) {
|
|
|
|
|
@@ -27100,6 +27110,7 @@ function TextGeometry( text, parameters ) {
|
|
|
TextGeometry.prototype = Object.create( Geometry.prototype );
|
|
|
TextGeometry.prototype.constructor = TextGeometry;
|
|
|
|
|
|
+// TextBufferGeometry
|
|
|
|
|
|
function TextBufferGeometry( text, parameters ) {
|
|
|
|
|
@@ -27128,7 +27139,7 @@ function TextBufferGeometry( text, parameters ) {
|
|
|
|
|
|
ExtrudeBufferGeometry.call( this, shapes, parameters );
|
|
|
|
|
|
- this.type = 'TextGeometry';
|
|
|
+ this.type = 'TextBufferGeometry';
|
|
|
|
|
|
}
|
|
|
|
|
@@ -27137,8 +27148,12 @@ TextBufferGeometry.prototype.constructor = TextBufferGeometry;
|
|
|
|
|
|
/**
|
|
|
* @author mrdoob / http://mrdoob.com/
|
|
|
+ * @author benaadams / https://twitter.com/ben_a_adams
|
|
|
+ * @author Mugen87 / https://github.com/Mugen87
|
|
|
*/
|
|
|
|
|
|
+// SphereGeometry
|
|
|
+
|
|
|
function SphereGeometry( radius, widthSegments, heightSegments, phiStart, phiLength, thetaStart, thetaLength ) {
|
|
|
|
|
|
Geometry.call( this );
|
|
@@ -27163,10 +27178,7 @@ function SphereGeometry( radius, widthSegments, heightSegments, phiStart, phiLen
|
|
|
SphereGeometry.prototype = Object.create( Geometry.prototype );
|
|
|
SphereGeometry.prototype.constructor = SphereGeometry;
|
|
|
|
|
|
-/**
|
|
|
- * @author benaadams / https://twitter.com/ben_a_adams
|
|
|
- * @author Mugen87 / https://github.com/Mugen87
|
|
|
- */
|
|
|
+// SphereBufferGeometry
|
|
|
|
|
|
function SphereBufferGeometry( radius, widthSegments, heightSegments, phiStart, phiLength, thetaStart, thetaLength ) {
|
|
|
|
|
@@ -27281,8 +27293,11 @@ SphereBufferGeometry.prototype.constructor = SphereBufferGeometry;
|
|
|
|
|
|
/**
|
|
|
* @author Kaleb Murphy
|
|
|
+ * @author Mugen87 / https://github.com/Mugen87
|
|
|
*/
|
|
|
|
|
|
+// RingGeometry
|
|
|
+
|
|
|
function RingGeometry( innerRadius, outerRadius, thetaSegments, phiSegments, thetaStart, thetaLength ) {
|
|
|
|
|
|
Geometry.call( this );
|
|
@@ -27306,9 +27321,7 @@ function RingGeometry( innerRadius, outerRadius, thetaSegments, phiSegments, the
|
|
|
RingGeometry.prototype = Object.create( Geometry.prototype );
|
|
|
RingGeometry.prototype.constructor = RingGeometry;
|
|
|
|
|
|
-/**
|
|
|
- * @author Mugen87 / https://github.com/Mugen87
|
|
|
- */
|
|
|
+// RingBufferGeometry
|
|
|
|
|
|
function RingBufferGeometry( innerRadius, outerRadius, thetaSegments, phiSegments, thetaStart, thetaLength ) {
|
|
|
|
|
@@ -27426,14 +27439,10 @@ RingBufferGeometry.prototype.constructor = RingBufferGeometry;
|
|
|
* @author astrodud / http://astrodud.isgreat.org/
|
|
|
* @author zz85 / https://github.com/zz85
|
|
|
* @author bhouston / http://clara.io
|
|
|
+ * @author Mugen87 / https://github.com/Mugen87
|
|
|
*/
|
|
|
|
|
|
-// points - to create a closed torus, one must use a set of points
|
|
|
-// like so: [ a, b, c, d, a ], see first is the same as last.
|
|
|
-// segments - the number of circumference segments to create
|
|
|
-// phiStart - the starting radian
|
|
|
-// phiLength - the radian (0 to 2PI) range of the lathed section
|
|
|
-// 2PI is a closed lathe, less than 2PI is a portion.
|
|
|
+// LatheGeometry
|
|
|
|
|
|
function LatheGeometry( points, segments, phiStart, phiLength ) {
|
|
|
|
|
@@ -27456,9 +27465,7 @@ function LatheGeometry( points, segments, phiStart, phiLength ) {
|
|
|
LatheGeometry.prototype = Object.create( Geometry.prototype );
|
|
|
LatheGeometry.prototype.constructor = LatheGeometry;
|
|
|
|
|
|
-/**
|
|
|
- * @author Mugen87 / https://github.com/Mugen87
|
|
|
- */
|
|
|
+// LatheBufferGeometry
|
|
|
|
|
|
function LatheBufferGeometry( points, segments, phiStart, phiLength ) {
|
|
|
|
|
@@ -27608,8 +27615,11 @@ LatheBufferGeometry.prototype.constructor = LatheBufferGeometry;
|
|
|
|
|
|
/**
|
|
|
* @author jonobr1 / http://jonobr1.com
|
|
|
+ * @author Mugen87 / https://github.com/Mugen87
|
|
|
*/
|
|
|
|
|
|
+// ShapeGeometry
|
|
|
+
|
|
|
function ShapeGeometry( shapes, curveSegments ) {
|
|
|
|
|
|
Geometry.call( this );
|
|
@@ -27637,9 +27647,7 @@ function ShapeGeometry( shapes, curveSegments ) {
|
|
|
ShapeGeometry.prototype = Object.create( Geometry.prototype );
|
|
|
ShapeGeometry.prototype.constructor = ShapeGeometry;
|
|
|
|
|
|
-/**
|
|
|
- * @author Mugen87 / https://github.com/Mugen87
|
|
|
- */
|
|
|
+// ShapeBufferGeometry
|
|
|
|
|
|
function ShapeBufferGeometry( shapes, curveSegments ) {
|
|
|
|
|
@@ -27882,8 +27890,11 @@ EdgesGeometry.prototype.constructor = EdgesGeometry;
|
|
|
|
|
|
/**
|
|
|
* @author mrdoob / http://mrdoob.com/
|
|
|
+ * @author Mugen87 / https://github.com/Mugen87
|
|
|
*/
|
|
|
|
|
|
+// CylinderGeometry
|
|
|
+
|
|
|
function CylinderGeometry( radiusTop, radiusBottom, height, radialSegments, heightSegments, openEnded, thetaStart, thetaLength ) {
|
|
|
|
|
|
Geometry.call( this );
|
|
@@ -27909,9 +27920,7 @@ function CylinderGeometry( radiusTop, radiusBottom, height, radialSegments, heig
|
|
|
CylinderGeometry.prototype = Object.create( Geometry.prototype );
|
|
|
CylinderGeometry.prototype.constructor = CylinderGeometry;
|
|
|
|
|
|
-/**
|
|
|
- * @author Mugen87 / https://github.com/Mugen87
|
|
|
- */
|
|
|
+// CylinderBufferGeometry
|
|
|
|
|
|
function CylinderBufferGeometry( radiusTop, radiusBottom, height, radialSegments, heightSegments, openEnded, thetaStart, thetaLength ) {
|
|
|
|
|
@@ -28191,6 +28200,8 @@ CylinderBufferGeometry.prototype.constructor = CylinderBufferGeometry;
|
|
|
* @author abelnation / http://github.com/abelnation
|
|
|
*/
|
|
|
|
|
|
+// ConeGeometry
|
|
|
+
|
|
|
function ConeGeometry( radius, height, radialSegments, heightSegments, openEnded, thetaStart, thetaLength ) {
|
|
|
|
|
|
CylinderGeometry.call( this, 0, radius, height, radialSegments, heightSegments, openEnded, thetaStart, thetaLength );
|
|
@@ -28212,9 +28223,7 @@ function ConeGeometry( radius, height, radialSegments, heightSegments, openEnded
|
|
|
ConeGeometry.prototype = Object.create( CylinderGeometry.prototype );
|
|
|
ConeGeometry.prototype.constructor = ConeGeometry;
|
|
|
|
|
|
-/**
|
|
|
- * @author: abelnation / http://github.com/abelnation
|
|
|
- */
|
|
|
+// ConeBufferGeometry
|
|
|
|
|
|
function ConeBufferGeometry( radius, height, radialSegments, heightSegments, openEnded, thetaStart, thetaLength ) {
|
|
|
|
|
@@ -28238,9 +28247,13 @@ ConeBufferGeometry.prototype = Object.create( CylinderBufferGeometry.prototype )
|
|
|
ConeBufferGeometry.prototype.constructor = ConeBufferGeometry;
|
|
|
|
|
|
/**
|
|
|
+ * @author benaadams / https://twitter.com/ben_a_adams
|
|
|
+ * @author Mugen87 / https://github.com/Mugen87
|
|
|
* @author hughes
|
|
|
*/
|
|
|
|
|
|
+// CircleGeometry
|
|
|
+
|
|
|
function CircleGeometry( radius, segments, thetaStart, thetaLength ) {
|
|
|
|
|
|
Geometry.call( this );
|
|
@@ -28262,10 +28275,7 @@ function CircleGeometry( radius, segments, thetaStart, thetaLength ) {
|
|
|
CircleGeometry.prototype = Object.create( Geometry.prototype );
|
|
|
CircleGeometry.prototype.constructor = CircleGeometry;
|
|
|
|
|
|
-/**
|
|
|
- * @author benaadams / https://twitter.com/ben_a_adams
|
|
|
- * @author Mugen87 / https://github.com/Mugen87
|
|
|
- */
|
|
|
+// CircleBufferGeometry
|
|
|
|
|
|
function CircleBufferGeometry( radius, segments, thetaStart, thetaLength ) {
|
|
|
|