@@ -282,8 +282,8 @@ module.exports = {
282
282
constructorArgs : [ 'array' , 'normalized' ] ,
283
283
propsDefinedByThree : [ 'version' , 'needsUpdate' ]
284
284
} ,
285
- BufferGeometry : {
286
- relativePath : './core/BufferGeometry ' ,
285
+ BaseBufferGeometry : {
286
+ relativePath : './core/BaseBufferGeometry ' ,
287
287
properties : {
288
288
name : new Types . String ( '' ) ,
289
289
type : new Types . String ( '' ) ,
@@ -314,22 +314,22 @@ module.exports = {
314
314
} ,
315
315
constructorArgs : [ 'a' , 'b' , 'c' , 'normal' , 'color' , 'materialIndex' ] ,
316
316
} ,
317
- Geometry : {
318
- relativePath : './core/Geometry ' ,
317
+ BaseGeometry : {
318
+ relativePath : './core/BaseGeometry ' ,
319
319
properties : {
320
320
// TODO: id not supported as it conflicts with backbone's id
321
321
// id: new Types.String(''),
322
322
name : new Types . String ( '' ) ,
323
323
type : new Types . String ( '' ) ,
324
324
325
- // By default Geometry does not sync geometry arrays
326
- // Use the custom class PlainGeometry to access those arrays
325
+ // By default BaseGeometry does not sync geometry arrays
326
+ // Use the Geometry class to access those arrays
327
327
} ,
328
328
propsDefinedByThree : [ 'type' ]
329
329
} ,
330
- PlainGeometry : {
331
- relativePath : './geometries/PlainGeometry ' ,
332
- superClass : 'Geometry ' ,
330
+ Geometry : {
331
+ relativePath : './core/Geometry ' ,
332
+ superClass : 'BaseGeometry ' ,
333
333
properties : {
334
334
vertices : new Types . VectorArray ( ) ,
335
335
colors : new Types . ColorArray ( ) ,
@@ -340,20 +340,20 @@ module.exports = {
340
340
morphNormals : new Types . Array ( ) ,
341
341
skinWeights : new Types . VectorArray ( ) ,
342
342
skinIndices : new Types . VectorArray ( ) ,
343
- _ref_geometry : new Types . ThreeType ( 'Geometry ' ) ,
343
+ _ref_geometry : new Types . ThreeType ( 'BaseGeometry ' ) ,
344
344
} ,
345
345
} ,
346
- PlainBufferGeometry : {
347
- relativePath : './geometries/PlainBufferGeometry ' ,
348
- superClass : 'BufferGeometry ' ,
346
+ BufferGeometry : {
347
+ relativePath : './core/BufferGeometry ' ,
348
+ superClass : 'BaseBufferGeometry ' ,
349
349
properties : {
350
350
attributes : new Types . ThreeTypeDict ( [ 'BufferAttribute' , 'InterleavedBufferAttribute' ] ) ,
351
351
morphAttributes : new Types . BufferMorphAttributes ( ) ,
352
352
MaxIndex : new Types . Int ( 65535 ) ,
353
353
// TODO: These likely require special types:
354
354
//groups: new Types.GeometryGroup(),
355
355
//drawRange: new Types.DrawRange(),
356
- _ref_geometry : new Types . ThreeType ( [ 'Geometry ' , 'BufferGeometry ' ] ) ,
356
+ _ref_geometry : new Types . ThreeType ( [ 'BaseGeometry ' , 'BaseBufferGeometry ' ] ) ,
357
357
} ,
358
358
} ,
359
359
InstancedBufferAttribute : {
@@ -366,7 +366,7 @@ module.exports = {
366
366
} ,
367
367
InstancedBufferGeometry : {
368
368
relativePath : './core/InstancedBufferGeometry' ,
369
- superClass : 'PlainBufferGeometry ' ,
369
+ superClass : 'BufferGeometry ' ,
370
370
properties : {
371
371
maxInstancedCount : new Types . Int ( null , { nullable : true } ) ,
372
372
} ,
@@ -1088,7 +1088,7 @@ module.exports = {
1088
1088
constructorArgs : [ 'geometry' , 'material' ] ,
1089
1089
properties : {
1090
1090
material : new Types . ThreeType ( 'Material' ) ,
1091
- geometry : new Types . ThreeType ( [ 'Geometry ' , 'BufferGeometry ' ] ) ,
1091
+ geometry : new Types . ThreeType ( [ 'BaseGeometry ' , 'BaseBufferGeometry ' ] ) ,
1092
1092
}
1093
1093
} ,
1094
1094
LineLoop : {
@@ -1107,7 +1107,7 @@ module.exports = {
1107
1107
constructorArgs : [ 'geometry' , 'material' ] ,
1108
1108
properties : {
1109
1109
material : new Types . ThreeTypeArray ( 'Material' , { nullable : false , allow_single : true } ) ,
1110
- geometry : new Types . ThreeType ( [ 'Geometry ' , 'BufferGeometry ' ] , { nullable : false } ) ,
1110
+ geometry : new Types . ThreeType ( [ 'BaseGeometry ' , 'BaseBufferGeometry ' ] , { nullable : false } ) ,
1111
1111
drawMode : new Types . Enum ( 'DrawModes' , 'TrianglesDrawMode' ) ,
1112
1112
morphTargetInfluences : new Types . Array ( ) ,
1113
1113
} ,
@@ -1119,7 +1119,7 @@ module.exports = {
1119
1119
constructorArgs : [ 'geometry' , 'material' ] ,
1120
1120
properties : {
1121
1121
material : new Types . ThreeType ( 'Material' , { nullable : false } ) ,
1122
- geometry : new Types . ThreeType ( [ 'Geometry ' , 'BufferGeometry ' ] , { nullable : false } ) ,
1122
+ geometry : new Types . ThreeType ( [ 'BaseGeometry ' , 'BaseBufferGeometry ' ] , { nullable : false } ) ,
1123
1123
} ,
1124
1124
} ,
1125
1125
Skeleton : {
@@ -1393,7 +1393,7 @@ module.exports = {
1393
1393
} ,
1394
1394
BoxBufferGeometry : {
1395
1395
relativePath : './geometries/BoxGeometry' ,
1396
- superClass : 'BufferGeometry ' ,
1396
+ superClass : 'BaseBufferGeometry ' ,
1397
1397
constructorArgs : [ 'width' , 'height' , 'depth' , 'widthSegments' , 'heightSegments' , 'depthSegments' ] ,
1398
1398
properties : {
1399
1399
width : new Types . Float ( 10.0 ) ,
@@ -1406,7 +1406,7 @@ module.exports = {
1406
1406
} ,
1407
1407
BoxGeometry : {
1408
1408
relativePath : './geometries/BoxGeometry' ,
1409
- superClass : 'Geometry ' ,
1409
+ superClass : 'BaseGeometry ' ,
1410
1410
constructorArgs : [ 'width' , 'height' , 'depth' , 'widthSegments' , 'heightSegments' , 'depthSegments' ] ,
1411
1411
properties : {
1412
1412
width : new Types . Float ( 10.0 ) ,
@@ -1419,7 +1419,7 @@ module.exports = {
1419
1419
} ,
1420
1420
CircleBufferGeometry : {
1421
1421
relativePath : './geometries/CircleGeometry' ,
1422
- superClass : 'BufferGeometry ' ,
1422
+ superClass : 'BaseBufferGeometry ' ,
1423
1423
constructorArgs : [ 'radius' , 'segments' , 'thetaStart' , 'thetaLength' ] ,
1424
1424
properties : {
1425
1425
radius : new Types . Float ( 50.0 ) ,
@@ -1430,7 +1430,7 @@ module.exports = {
1430
1430
} ,
1431
1431
CircleGeometry : {
1432
1432
relativePath : './geometries/CircleGeometry' ,
1433
- superClass : 'Geometry ' ,
1433
+ superClass : 'BaseGeometry ' ,
1434
1434
constructorArgs : [ 'radius' , 'segments' , 'thetaStart' , 'thetaLength' ] ,
1435
1435
properties : {
1436
1436
radius : new Types . Float ( 50.0 ) ,
@@ -1441,7 +1441,7 @@ module.exports = {
1441
1441
} ,
1442
1442
ConeGeometry : {
1443
1443
relativePath : './geometries/ConeGeometry' ,
1444
- superClass : 'Geometry ' ,
1444
+ superClass : 'BaseGeometry ' ,
1445
1445
constructorArgs : [ 'radius' , 'height' , 'radialSegments' , 'heightSegments' , 'openEnded' , 'thetaStart' , 'thetaLength' ] ,
1446
1446
properties : {
1447
1447
radius : new Types . Float ( 20.0 ) ,
@@ -1455,7 +1455,7 @@ module.exports = {
1455
1455
} ,
1456
1456
CylinderBufferGeometry : {
1457
1457
relativePath : './geometries/CylinderGeometry' ,
1458
- superClass : 'BufferGeometry ' ,
1458
+ superClass : 'BaseBufferGeometry ' ,
1459
1459
constructorArgs : [ 'radiusTop' , 'radiusBottom' , 'height' , 'radiusSegments' , 'heightSegments' , 'openEnded' , 'thetaStart' , 'thetaLength' ] ,
1460
1460
properties : {
1461
1461
radiusTop : new Types . Float ( 20.0 ) ,
@@ -1470,7 +1470,7 @@ module.exports = {
1470
1470
} ,
1471
1471
CylinderGeometry : {
1472
1472
relativePath : './geometries/CylinderGeometry' ,
1473
- superClass : 'Geometry ' ,
1473
+ superClass : 'BaseGeometry ' ,
1474
1474
constructorArgs : [ 'radiusTop' , 'radiusBottom' , 'height' , 'radiusSegments' , 'heightSegments' , 'openEnded' , 'thetaStart' , 'thetaLength' ] ,
1475
1475
properties : {
1476
1476
radiusTop : new Types . Float ( 20.0 ) ,
@@ -1485,7 +1485,7 @@ module.exports = {
1485
1485
} ,
1486
1486
DodecahedronGeometry : {
1487
1487
relativePath : './geometries/DodecahedronGeometry' ,
1488
- superClass : 'Geometry ' ,
1488
+ superClass : 'BaseGeometry ' ,
1489
1489
constructorArgs : [ 'radius' , 'detail' ] ,
1490
1490
properties : {
1491
1491
radius : new Types . Float ( 1.0 ) ,
@@ -1495,16 +1495,16 @@ module.exports = {
1495
1495
// TODO:
1496
1496
EdgesGeometry : {
1497
1497
relativePath : './geometries/EdgesGeometry' ,
1498
- superClass : 'Geometry ' ,
1498
+ superClass : 'BaseGeometry ' ,
1499
1499
} ,
1500
1500
// TODO:
1501
1501
ExtrudeGeometry : {
1502
1502
relativePath : './geometries/ExtrudeGeometry' ,
1503
- superClass : 'Geometry ' ,
1503
+ superClass : 'BaseGeometry ' ,
1504
1504
} ,
1505
1505
IcosahedronGeometry : {
1506
1506
relativePath : './geometries/IcosahedronGeometry' ,
1507
- superClass : 'Geometry ' ,
1507
+ superClass : 'BaseGeometry ' ,
1508
1508
constructorArgs : [ 'radius' , 'detail' ] ,
1509
1509
properties : {
1510
1510
radius : new Types . Float ( 1.0 ) ,
@@ -1513,7 +1513,7 @@ module.exports = {
1513
1513
} ,
1514
1514
LatheBufferGeometry : {
1515
1515
relativePath : './geometries/LatheGeometry' ,
1516
- superClass : 'BufferGeometry ' ,
1516
+ superClass : 'BaseBufferGeometry ' ,
1517
1517
constructorArgs : [ 'points' , 'segments' , 'phiStart' , 'phiLength' ] ,
1518
1518
properties : {
1519
1519
points : new Types . VectorArray ( ) ,
@@ -1524,7 +1524,7 @@ module.exports = {
1524
1524
} ,
1525
1525
LatheGeometry : {
1526
1526
relativePath : './geometries/LatheGeometry' ,
1527
- superClass : 'Geometry ' ,
1527
+ superClass : 'BaseGeometry ' ,
1528
1528
constructorArgs : [ 'points' , 'segments' , 'phiStart' , 'phiLength' ] ,
1529
1529
properties : {
1530
1530
points : new Types . VectorArray ( ) ,
@@ -1535,7 +1535,7 @@ module.exports = {
1535
1535
} ,
1536
1536
OctahedronGeometry : {
1537
1537
relativePath : './geometries/OctahedronGeometry' ,
1538
- superClass : 'Geometry ' ,
1538
+ superClass : 'BaseGeometry ' ,
1539
1539
constructorArgs : [ 'radius' , 'detail' ] ,
1540
1540
properties : {
1541
1541
radius : new Types . Float ( 1.0 ) ,
@@ -1544,7 +1544,7 @@ module.exports = {
1544
1544
} ,
1545
1545
ParametricGeometry : {
1546
1546
relativePath : './geometries/ParametricGeometry' ,
1547
- superClass : 'Geometry ' ,
1547
+ superClass : 'BaseGeometry ' ,
1548
1548
constructorArgs : [ 'func' , 'slices' , 'stacks' ] ,
1549
1549
properties : {
1550
1550
func : new Types . Function ( function ( u , v ) { return THREE . Vector3 ( ) ; } ) ,
@@ -1554,7 +1554,7 @@ module.exports = {
1554
1554
} ,
1555
1555
PlaneBufferGeometry : {
1556
1556
relativePath : './geometries/PlaneGeometry' ,
1557
- superClass : 'BufferGeometry ' ,
1557
+ superClass : 'BaseBufferGeometry ' ,
1558
1558
constructorArgs : [ 'width' , 'height' , 'widthSegments' , 'heightSegments' ] ,
1559
1559
properties : {
1560
1560
width : new Types . Float ( 10.0 ) , // NOTE: default not specified in three.js
@@ -1565,7 +1565,7 @@ module.exports = {
1565
1565
} ,
1566
1566
PlaneGeometry : {
1567
1567
relativePath : './geometries/PlaneGeometry' ,
1568
- superClass : 'Geometry ' ,
1568
+ superClass : 'BaseGeometry ' ,
1569
1569
constructorArgs : [ 'width' , 'height' , 'widthSegments' , 'heightSegments' ] ,
1570
1570
properties : {
1571
1571
width : new Types . Float ( 10.0 ) , // NOTE: default not specified in three.js
@@ -1576,7 +1576,7 @@ module.exports = {
1576
1576
} ,
1577
1577
PolyhedronGeometry : {
1578
1578
relativePath : './geometries/PolyhedronGeometry' ,
1579
- superClass : 'Geometry ' ,
1579
+ superClass : 'BaseGeometry ' ,
1580
1580
constructorArgs : [ 'vertices' , 'faces' , 'radius' , 'detail' ] ,
1581
1581
properties : {
1582
1582
vertices : new Types . Array ( ) ,
@@ -1588,7 +1588,7 @@ module.exports = {
1588
1588
} ,
1589
1589
RingBufferGeometry : {
1590
1590
relativePath : './geometries/RingGeometry' ,
1591
- superClass : 'BufferGeometry ' ,
1591
+ superClass : 'BaseBufferGeometry ' ,
1592
1592
constructorArgs : [ 'innerRadius' , 'outerRadius' , 'thetaSegments' , 'phiSegments' , 'thetaStart' , 'thetaLength' ] ,
1593
1593
properties : {
1594
1594
innerRadius : new Types . Float ( 0.0 ) , // Docs: "Default is 0, but it doesn't work right when innerRadius is set to 0.
@@ -1601,7 +1601,7 @@ module.exports = {
1601
1601
} ,
1602
1602
RingGeometry : {
1603
1603
relativePath : './geometries/RingGeometry' ,
1604
- superClass : 'Geometry ' ,
1604
+ superClass : 'BaseGeometry ' ,
1605
1605
constructorArgs : [ 'innerRadius' , 'outerRadius' , 'thetaSegments' , 'phiSegments' , 'thetaStart' , 'thetaLength' ] ,
1606
1606
properties : {
1607
1607
innerRadius : new Types . Float ( 0.0 ) , // Docs: "Default is 0, but it doesn't work right when innerRadius is set to 0.
@@ -1615,7 +1615,7 @@ module.exports = {
1615
1615
// TODO: figure out options constructor args + UVGenerator
1616
1616
ShapeGeometry : {
1617
1617
relativePath : './geometries/ShapeGeometry' ,
1618
- superClass : 'Geometry ' ,
1618
+ superClass : 'BaseGeometry ' ,
1619
1619
constructorArgs : [ 'shapes' ] ,
1620
1620
properties : {
1621
1621
shapes : new Types . ThreeTypeArray ( 'Shape' ) ,
@@ -1626,7 +1626,7 @@ module.exports = {
1626
1626
} ,
1627
1627
SphereBufferGeometry : {
1628
1628
relativePath : './geometries/SphereGeometry' ,
1629
- superClass : 'BufferGeometry ' ,
1629
+ superClass : 'BaseBufferGeometry ' ,
1630
1630
constructorArgs : [ 'radius' , 'widthSegments' , 'heightSegments' , 'phiStart' , 'phiLength' , 'thetaStart' , 'thetaLength' ] ,
1631
1631
properties : {
1632
1632
radius : new Types . Float ( 50.0 ) ,
@@ -1640,7 +1640,7 @@ module.exports = {
1640
1640
} ,
1641
1641
SphereGeometry : {
1642
1642
relativePath : './geometries/SphereGeometry' ,
1643
- superClass : 'Geometry ' ,
1643
+ superClass : 'BaseGeometry ' ,
1644
1644
constructorArgs : [ 'radius' , 'widthSegments' , 'heightSegments' , 'phiStart' , 'phiLength' , 'thetaStart' , 'thetaLength' ] ,
1645
1645
properties : {
1646
1646
radius : new Types . Float ( 50.0 ) ,
@@ -1654,7 +1654,7 @@ module.exports = {
1654
1654
} ,
1655
1655
TetrahedronGeometry : {
1656
1656
relativePath : './geometries/TetrahedronGeometry' ,
1657
- superClass : 'Geometry ' ,
1657
+ superClass : 'BaseGeometry ' ,
1658
1658
constructorArgs : [ 'radius' , 'detail' ] ,
1659
1659
properties : {
1660
1660
radius : new Types . Float ( 1 ) ,
@@ -1664,11 +1664,11 @@ module.exports = {
1664
1664
// TODO:
1665
1665
TextGeometry : {
1666
1666
relativePath : './geometries/TextGeometry' ,
1667
- superClass : 'Geometry ' ,
1667
+ superClass : 'BaseGeometry ' ,
1668
1668
} ,
1669
1669
TorusBufferGeometry : {
1670
1670
relativePath : './geometries/TorusGeometry' ,
1671
- superClass : 'BufferGeometry ' ,
1671
+ superClass : 'BaseBufferGeometry ' ,
1672
1672
constructorArgs : [ 'radius' , 'tube' , 'radialSegments' , 'tubularSegments' , 'arc' ] ,
1673
1673
properties : {
1674
1674
radius : new Types . Float ( 100 ) ,
@@ -1680,7 +1680,7 @@ module.exports = {
1680
1680
} ,
1681
1681
TorusGeometry : {
1682
1682
relativePath : './geometries/TorusGeometry' ,
1683
- superClass : 'Geometry ' ,
1683
+ superClass : 'BaseGeometry ' ,
1684
1684
constructorArgs : [ 'radius' , 'tube' , 'radialSegments' , 'tubularSegments' , 'arc' ] ,
1685
1685
properties : {
1686
1686
radius : new Types . Float ( 100 ) ,
@@ -1692,7 +1692,7 @@ module.exports = {
1692
1692
} ,
1693
1693
TorusKnotBufferGeometry : {
1694
1694
relativePath : './geometries/TorusKnotGeometry' ,
1695
- superClass : 'BufferGeometry ' ,
1695
+ superClass : 'BaseBufferGeometry ' ,
1696
1696
constructorArgs : [ 'radius' , 'tube' , 'tubularSegments' , 'radialSegments' , 'p' , 'q' ] ,
1697
1697
properties : {
1698
1698
radius : new Types . Float ( 100 ) ,
@@ -1705,7 +1705,7 @@ module.exports = {
1705
1705
} ,
1706
1706
TorusKnotGeometry : {
1707
1707
relativePath : './geometries/TorusKnotGeometry' ,
1708
- superClass : 'Geometry ' ,
1708
+ superClass : 'BaseGeometry ' ,
1709
1709
constructorArgs : [ 'radius' , 'tube' , 'tubularSegments' , 'radialSegments' , 'p' , 'q' ] ,
1710
1710
properties : {
1711
1711
radius : new Types . Float ( 100 ) ,
@@ -1718,7 +1718,7 @@ module.exports = {
1718
1718
} ,
1719
1719
TubeGeometry : {
1720
1720
relativePath : './geometries/TubeGeometry' ,
1721
- superClass : 'Geometry ' ,
1721
+ superClass : 'BaseGeometry ' ,
1722
1722
constructorArgs : [ 'path' , 'segments' , 'radius' , 'radiusSegments' , 'close' ] ,
1723
1723
properties : {
1724
1724
path : new Types . ThreeType ( 'Curve' ) ,
@@ -1730,10 +1730,10 @@ module.exports = {
1730
1730
} ,
1731
1731
WireframeGeometry : {
1732
1732
relativePath : './geometries/WireframeGeometry' ,
1733
- superClass : 'Geometry ' ,
1733
+ superClass : 'BaseGeometry ' ,
1734
1734
constructorArgs : [ 'geometry' ] ,
1735
1735
properties : {
1736
- geometry : new Types . ThreeType ( [ 'Geometry ' , 'BufferGeometry ' ] ) ,
1736
+ geometry : new Types . ThreeType ( [ 'BaseGeometry ' , 'BaseBufferGeometry ' ] ) ,
1737
1737
} ,
1738
1738
} ,
1739
1739
ArrowHelper : {
0 commit comments