@@ -443,9 +443,6 @@ module.exports = {
443
443
Uniform : {
444
444
relativePath : './core/Uniform' ,
445
445
} ,
446
- CurveUtils : {
447
- relativePath : './extras/CurveUtils' ,
448
- } ,
449
446
SceneUtils : {
450
447
relativePath : './extras/SceneUtils' ,
451
448
} ,
@@ -1164,6 +1161,7 @@ module.exports = {
1164
1161
unpackAlignment : new Types . Int ( 4 ) , // from three docs: valid values: 1, 2, 4, 8 (see http://www.khronos.org/opengles/sdk/docs/man/xhtml/glPixelStorei.xml)
1165
1162
encoding : new Types . Enum ( 'TextureEncodings' , 'LinearEncoding' ) ,
1166
1163
version : new Types . Int ( 0 ) ,
1164
+ rotation : new Types . Float ( 0 ) ,
1167
1165
} ,
1168
1166
// As the image property is not exposed, we don't define constructorArgs.
1169
1167
// The image property is hidden, as it does not have a good corresponding python type (yet)
@@ -1325,9 +1323,9 @@ module.exports = {
1325
1323
superClass : 'BaseBufferGeometry' ,
1326
1324
constructorArgs : [ 'width' , 'height' , 'depth' , 'widthSegments' , 'heightSegments' , 'depthSegments' ] ,
1327
1325
properties : {
1328
- width : new Types . Float ( 10 .0) ,
1329
- height : new Types . Float ( 10 .0) ,
1330
- depth : new Types . Float ( 10 .0) ,
1326
+ width : new Types . Float ( 1 .0) ,
1327
+ height : new Types . Float ( 1 .0) ,
1328
+ depth : new Types . Float ( 1 .0) ,
1331
1329
widthSegments : new Types . Int ( 1 ) ,
1332
1330
heightSegments : new Types . Int ( 1 ) ,
1333
1331
depthSegments : new Types . Int ( 1 ) ,
@@ -1338,9 +1336,9 @@ module.exports = {
1338
1336
superClass : 'BaseGeometry' ,
1339
1337
constructorArgs : [ 'width' , 'height' , 'depth' , 'widthSegments' , 'heightSegments' , 'depthSegments' ] ,
1340
1338
properties : {
1341
- width : new Types . Float ( 10 .0) ,
1342
- height : new Types . Float ( 10 .0) ,
1343
- depth : new Types . Float ( 10 .0) ,
1339
+ width : new Types . Float ( 1 .0) ,
1340
+ height : new Types . Float ( 1 .0) ,
1341
+ depth : new Types . Float ( 1 .0) ,
1344
1342
widthSegments : new Types . Int ( 1 ) ,
1345
1343
heightSegments : new Types . Int ( 1 ) ,
1346
1344
depthSegments : new Types . Int ( 1 ) ,
@@ -1351,7 +1349,7 @@ module.exports = {
1351
1349
superClass : 'BaseBufferGeometry' ,
1352
1350
constructorArgs : [ 'radius' , 'segments' , 'thetaStart' , 'thetaLength' ] ,
1353
1351
properties : {
1354
- radius : new Types . Float ( 50 .0) ,
1352
+ radius : new Types . Float ( 1 .0) ,
1355
1353
segments : new Types . Int ( 8 , { minValue : 3 } ) ,
1356
1354
thetaStart : new Types . Float ( 0.0 ) ,
1357
1355
thetaLength : new Types . Float ( Math . PI * 2.0 ) ,
@@ -1362,7 +1360,7 @@ module.exports = {
1362
1360
superClass : 'BaseGeometry' ,
1363
1361
constructorArgs : [ 'radius' , 'segments' , 'thetaStart' , 'thetaLength' ] ,
1364
1362
properties : {
1365
- radius : new Types . Float ( 50 .0) ,
1363
+ radius : new Types . Float ( 1 .0) ,
1366
1364
segments : new Types . Int ( 8 , { minValue : 3 } ) ,
1367
1365
thetaStart : new Types . Float ( 0.0 ) ,
1368
1366
thetaLength : new Types . Float ( Math . PI * 2.0 ) ,
@@ -1387,9 +1385,9 @@ module.exports = {
1387
1385
superClass : 'BaseBufferGeometry' ,
1388
1386
constructorArgs : [ 'radiusTop' , 'radiusBottom' , 'height' , 'radiusSegments' , 'heightSegments' , 'openEnded' , 'thetaStart' , 'thetaLength' ] ,
1389
1387
properties : {
1390
- radiusTop : new Types . Float ( 20 .0) ,
1391
- radiusBottom : new Types . Float ( 20 .0) ,
1392
- height : new Types . Float ( 100 .0) ,
1388
+ radiusTop : new Types . Float ( 1 .0) ,
1389
+ radiusBottom : new Types . Float ( 1 .0) ,
1390
+ height : new Types . Float ( 1 .0) ,
1393
1391
radiusSegments : new Types . Int ( 8 ) ,
1394
1392
heightSegments : new Types . Int ( 1 ) ,
1395
1393
openEnded : new Types . Bool ( false ) ,
@@ -1402,9 +1400,9 @@ module.exports = {
1402
1400
superClass : 'BaseGeometry' ,
1403
1401
constructorArgs : [ 'radiusTop' , 'radiusBottom' , 'height' , 'radiusSegments' , 'heightSegments' , 'openEnded' , 'thetaStart' , 'thetaLength' ] ,
1404
1402
properties : {
1405
- radiusTop : new Types . Float ( 20 .0) ,
1406
- radiusBottom : new Types . Float ( 20 .0) ,
1407
- height : new Types . Float ( 100 .0) ,
1403
+ radiusTop : new Types . Float ( 1 .0) ,
1404
+ radiusBottom : new Types . Float ( 1 .0) ,
1405
+ height : new Types . Float ( 1 .0) ,
1408
1406
radiusSegments : new Types . Int ( 8 ) ,
1409
1407
heightSegments : new Types . Int ( 1 ) ,
1410
1408
openEnded : new Types . Bool ( false ) ,
@@ -1486,8 +1484,8 @@ module.exports = {
1486
1484
superClass : 'BaseBufferGeometry' ,
1487
1485
constructorArgs : [ 'width' , 'height' , 'widthSegments' , 'heightSegments' ] ,
1488
1486
properties : {
1489
- width : new Types . Float ( 10 .0) , // NOTE: default not specified in three.js
1490
- height : new Types . Float ( 10 .0) , // NOTE: default not specified in three.js
1487
+ width : new Types . Float ( 1 .0) ,
1488
+ height : new Types . Float ( 1 .0) ,
1491
1489
widthSegments : new Types . Int ( 1 ) ,
1492
1490
heightSegments : new Types . Int ( 1 ) ,
1493
1491
} ,
@@ -1497,8 +1495,8 @@ module.exports = {
1497
1495
superClass : 'BaseGeometry' ,
1498
1496
constructorArgs : [ 'width' , 'height' , 'widthSegments' , 'heightSegments' ] ,
1499
1497
properties : {
1500
- width : new Types . Float ( 10 .0) , // NOTE: default not specified in three.js
1501
- height : new Types . Float ( 10 .0) , // NOTE: default not specified in three.js
1498
+ width : new Types . Float ( 1 .0) ,
1499
+ height : new Types . Float ( 1 .0) ,
1502
1500
widthSegments : new Types . Int ( 1 ) ,
1503
1501
heightSegments : new Types . Int ( 1 ) ,
1504
1502
} ,
@@ -1520,8 +1518,8 @@ module.exports = {
1520
1518
superClass : 'BaseBufferGeometry' ,
1521
1519
constructorArgs : [ 'innerRadius' , 'outerRadius' , 'thetaSegments' , 'phiSegments' , 'thetaStart' , 'thetaLength' ] ,
1522
1520
properties : {
1523
- innerRadius : new Types . Float ( 0.0 ) , // Docs: "Default is 0, but it doesn't work right when innerRadius is set to 0.
1524
- outerRadius : new Types . Float ( 50 .0) ,
1521
+ innerRadius : new Types . Float ( 0.5 ) ,
1522
+ outerRadius : new Types . Float ( 1 .0) ,
1525
1523
thetaSegments : new Types . Int ( 8 , { minValue : 3 } ) ,
1526
1524
phiSegments : new Types . Int ( 8 , { minValue : 1 } ) ,
1527
1525
thetaStart : new Types . Float ( 0 ) ,
@@ -1533,8 +1531,8 @@ module.exports = {
1533
1531
superClass : 'BaseGeometry' ,
1534
1532
constructorArgs : [ 'innerRadius' , 'outerRadius' , 'thetaSegments' , 'phiSegments' , 'thetaStart' , 'thetaLength' ] ,
1535
1533
properties : {
1536
- innerRadius : new Types . Float ( 0.0 ) , // Docs: "Default is 0, but it doesn't work right when innerRadius is set to 0.
1537
- outerRadius : new Types . Float ( 50 .0) ,
1534
+ innerRadius : new Types . Float ( 0.5 ) ,
1535
+ outerRadius : new Types . Float ( 1 .0) ,
1538
1536
thetaSegments : new Types . Int ( 8 , { minValue : 3 } ) ,
1539
1537
phiSegments : new Types . Int ( 8 , { minValue : 1 } ) ,
1540
1538
thetaStart : new Types . Float ( 0 ) ,
@@ -1558,7 +1556,7 @@ module.exports = {
1558
1556
superClass : 'BaseBufferGeometry' ,
1559
1557
constructorArgs : [ 'radius' , 'widthSegments' , 'heightSegments' , 'phiStart' , 'phiLength' , 'thetaStart' , 'thetaLength' ] ,
1560
1558
properties : {
1561
- radius : new Types . Float ( 50 .0) ,
1559
+ radius : new Types . Float ( 1 .0) ,
1562
1560
widthSegments : new Types . Int ( 8 ) ,
1563
1561
heightSegments : new Types . Int ( 6 ) ,
1564
1562
phiStart : new Types . Float ( 0 ) ,
@@ -1572,7 +1570,7 @@ module.exports = {
1572
1570
superClass : 'BaseGeometry' ,
1573
1571
constructorArgs : [ 'radius' , 'widthSegments' , 'heightSegments' , 'phiStart' , 'phiLength' , 'thetaStart' , 'thetaLength' ] ,
1574
1572
properties : {
1575
- radius : new Types . Float ( 50 .0) ,
1573
+ radius : new Types . Float ( 1 .0) ,
1576
1574
widthSegments : new Types . Int ( 8 ) ,
1577
1575
heightSegments : new Types . Int ( 6 ) ,
1578
1576
phiStart : new Types . Float ( 0 ) ,
@@ -1600,8 +1598,8 @@ module.exports = {
1600
1598
superClass : 'BaseBufferGeometry' ,
1601
1599
constructorArgs : [ 'radius' , 'tube' , 'radialSegments' , 'tubularSegments' , 'arc' ] ,
1602
1600
properties : {
1603
- radius : new Types . Float ( 100 ) ,
1604
- tube : new Types . Float ( 40 ) ,
1601
+ radius : new Types . Float ( 1.0 ) ,
1602
+ tube : new Types . Float ( 0.4 ) ,
1605
1603
radialSegments : new Types . Int ( 8 ) ,
1606
1604
tubularSegments : new Types . Int ( 6 ) ,
1607
1605
arc : new Types . Float ( Math . PI * 2.0 ) ,
@@ -1612,8 +1610,8 @@ module.exports = {
1612
1610
superClass : 'BaseGeometry' ,
1613
1611
constructorArgs : [ 'radius' , 'tube' , 'radialSegments' , 'tubularSegments' , 'arc' ] ,
1614
1612
properties : {
1615
- radius : new Types . Float ( 100 ) ,
1616
- tube : new Types . Float ( 40 ) ,
1613
+ radius : new Types . Float ( 1.0 ) ,
1614
+ tube : new Types . Float ( 0.4 ) ,
1617
1615
radialSegments : new Types . Int ( 8 ) ,
1618
1616
tubularSegments : new Types . Int ( 6 ) ,
1619
1617
arc : new Types . Float ( Math . PI * 2.0 ) ,
@@ -1624,8 +1622,8 @@ module.exports = {
1624
1622
superClass : 'BaseBufferGeometry' ,
1625
1623
constructorArgs : [ 'radius' , 'tube' , 'tubularSegments' , 'radialSegments' , 'p' , 'q' ] ,
1626
1624
properties : {
1627
- radius : new Types . Float ( 100 ) ,
1628
- tube : new Types . Float ( 40 ) ,
1625
+ radius : new Types . Float ( 1.0 ) ,
1626
+ tube : new Types . Float ( 0.4 ) ,
1629
1627
tubularSegments : new Types . Int ( 64 ) ,
1630
1628
radialSegments : new Types . Int ( 8 ) ,
1631
1629
p : new Types . Int ( 2 ) ,
@@ -1637,8 +1635,8 @@ module.exports = {
1637
1635
superClass : 'BaseGeometry' ,
1638
1636
constructorArgs : [ 'radius' , 'tube' , 'tubularSegments' , 'radialSegments' , 'p' , 'q' ] ,
1639
1637
properties : {
1640
- radius : new Types . Float ( 100 ) ,
1641
- tube : new Types . Float ( 40 ) ,
1638
+ radius : new Types . Float ( 1 ) ,
1639
+ tube : new Types . Float ( 0.4 ) ,
1642
1640
tubularSegments : new Types . Int ( 64 ) ,
1643
1641
radialSegments : new Types . Int ( 8 ) ,
1644
1642
p : new Types . Int ( 2 ) ,
@@ -1677,8 +1675,8 @@ module.exports = {
1677
1675
headWidth : new Types . Float ( null , { nullable : true } ) ,
1678
1676
} ,
1679
1677
} ,
1680
- AxisHelper : {
1681
- relativePath : './helpers/AxisHelper ' ,
1678
+ AxesHelper : {
1679
+ relativePath : './helpers/AxesHelper ' ,
1682
1680
superClass : 'Object3D' , // Should really be LineSegments, but we don't want to sync geometry/material
1683
1681
properties : {
1684
1682
size : new Types . Float ( 1.0 ) ,
0 commit comments