|
@@ -1,8 +1,8 @@
|
|
import {
|
|
import {
|
|
- BoxBufferGeometry,
|
|
|
|
|
|
+ BoxGeometry,
|
|
BufferGeometry,
|
|
BufferGeometry,
|
|
Color,
|
|
Color,
|
|
- CylinderBufferGeometry,
|
|
|
|
|
|
+ CylinderGeometry,
|
|
DoubleSide,
|
|
DoubleSide,
|
|
Euler,
|
|
Euler,
|
|
Float32BufferAttribute,
|
|
Float32BufferAttribute,
|
|
@@ -12,12 +12,12 @@ import {
|
|
Mesh,
|
|
Mesh,
|
|
MeshBasicMaterial,
|
|
MeshBasicMaterial,
|
|
Object3D,
|
|
Object3D,
|
|
- OctahedronBufferGeometry,
|
|
|
|
- PlaneBufferGeometry,
|
|
|
|
|
|
+ OctahedronGeometry,
|
|
|
|
+ PlaneGeometry,
|
|
Quaternion,
|
|
Quaternion,
|
|
Raycaster,
|
|
Raycaster,
|
|
- SphereBufferGeometry,
|
|
|
|
- TorusBufferGeometry,
|
|
|
|
|
|
+ SphereGeometry,
|
|
|
|
+ TorusGeometry,
|
|
Vector3
|
|
Vector3
|
|
} from '../../../build/three.module.js';
|
|
} from '../../../build/three.module.js';
|
|
|
|
|
|
@@ -823,9 +823,9 @@ var TransformControlsGizmo = function () {
|
|
|
|
|
|
// reusable geometry
|
|
// reusable geometry
|
|
|
|
|
|
- var arrowGeometry = new CylinderBufferGeometry( 0, 0.05, 0.2, 12, 1, false );
|
|
|
|
|
|
+ var arrowGeometry = new CylinderGeometry( 0, 0.05, 0.2, 12, 1, false );
|
|
|
|
|
|
- var scaleHandleGeometry = new BoxBufferGeometry( 0.125, 0.125, 0.125 );
|
|
|
|
|
|
+ var scaleHandleGeometry = new BoxGeometry( 0.125, 0.125, 0.125 );
|
|
|
|
|
|
var lineGeometry = new BufferGeometry();
|
|
var lineGeometry = new BufferGeometry();
|
|
lineGeometry.setAttribute( 'position', new Float32BufferAttribute( [ 0, 0, 0, 1, 0, 0 ], 3 ) );
|
|
lineGeometry.setAttribute( 'position', new Float32BufferAttribute( [ 0, 0, 0, 1, 0, 0 ], 3 ) );
|
|
@@ -878,20 +878,20 @@ var TransformControlsGizmo = function () {
|
|
[ new Line( lineGeometry, matLineBlue ), null, [ 0, - Math.PI / 2, 0 ]]
|
|
[ new Line( lineGeometry, matLineBlue ), null, [ 0, - Math.PI / 2, 0 ]]
|
|
],
|
|
],
|
|
XYZ: [
|
|
XYZ: [
|
|
- [ new Mesh( new OctahedronBufferGeometry( 0.1, 0 ), matWhiteTransparent.clone() ), [ 0, 0, 0 ], [ 0, 0, 0 ]]
|
|
|
|
|
|
+ [ new Mesh( new OctahedronGeometry( 0.1, 0 ), matWhiteTransparent.clone() ), [ 0, 0, 0 ], [ 0, 0, 0 ]]
|
|
],
|
|
],
|
|
XY: [
|
|
XY: [
|
|
- [ new Mesh( new PlaneBufferGeometry( 0.295, 0.295 ), matYellowTransparent.clone() ), [ 0.15, 0.15, 0 ]],
|
|
|
|
|
|
+ [ new Mesh( new PlaneGeometry( 0.295, 0.295 ), matYellowTransparent.clone() ), [ 0.15, 0.15, 0 ]],
|
|
[ new Line( lineGeometry, matLineYellow ), [ 0.18, 0.3, 0 ], null, [ 0.125, 1, 1 ]],
|
|
[ new Line( lineGeometry, matLineYellow ), [ 0.18, 0.3, 0 ], null, [ 0.125, 1, 1 ]],
|
|
[ new Line( lineGeometry, matLineYellow ), [ 0.3, 0.18, 0 ], [ 0, 0, Math.PI / 2 ], [ 0.125, 1, 1 ]]
|
|
[ new Line( lineGeometry, matLineYellow ), [ 0.3, 0.18, 0 ], [ 0, 0, Math.PI / 2 ], [ 0.125, 1, 1 ]]
|
|
],
|
|
],
|
|
YZ: [
|
|
YZ: [
|
|
- [ new Mesh( new PlaneBufferGeometry( 0.295, 0.295 ), matCyanTransparent.clone() ), [ 0, 0.15, 0.15 ], [ 0, Math.PI / 2, 0 ]],
|
|
|
|
|
|
+ [ new Mesh( new PlaneGeometry( 0.295, 0.295 ), matCyanTransparent.clone() ), [ 0, 0.15, 0.15 ], [ 0, Math.PI / 2, 0 ]],
|
|
[ new Line( lineGeometry, matLineCyan ), [ 0, 0.18, 0.3 ], [ 0, 0, Math.PI / 2 ], [ 0.125, 1, 1 ]],
|
|
[ new Line( lineGeometry, matLineCyan ), [ 0, 0.18, 0.3 ], [ 0, 0, Math.PI / 2 ], [ 0.125, 1, 1 ]],
|
|
[ new Line( lineGeometry, matLineCyan ), [ 0, 0.3, 0.18 ], [ 0, - Math.PI / 2, 0 ], [ 0.125, 1, 1 ]]
|
|
[ new Line( lineGeometry, matLineCyan ), [ 0, 0.3, 0.18 ], [ 0, - Math.PI / 2, 0 ], [ 0.125, 1, 1 ]]
|
|
],
|
|
],
|
|
XZ: [
|
|
XZ: [
|
|
- [ new Mesh( new PlaneBufferGeometry( 0.295, 0.295 ), matMagentaTransparent.clone() ), [ 0.15, 0, 0.15 ], [ - Math.PI / 2, 0, 0 ]],
|
|
|
|
|
|
+ [ new Mesh( new PlaneGeometry( 0.295, 0.295 ), matMagentaTransparent.clone() ), [ 0.15, 0, 0.15 ], [ - Math.PI / 2, 0, 0 ]],
|
|
[ new Line( lineGeometry, matLineMagenta ), [ 0.18, 0, 0.3 ], null, [ 0.125, 1, 1 ]],
|
|
[ new Line( lineGeometry, matLineMagenta ), [ 0.18, 0, 0.3 ], null, [ 0.125, 1, 1 ]],
|
|
[ new Line( lineGeometry, matLineMagenta ), [ 0.3, 0, 0.18 ], [ 0, - Math.PI / 2, 0 ], [ 0.125, 1, 1 ]]
|
|
[ new Line( lineGeometry, matLineMagenta ), [ 0.3, 0, 0.18 ], [ 0, - Math.PI / 2, 0 ], [ 0.125, 1, 1 ]]
|
|
]
|
|
]
|
|
@@ -899,34 +899,34 @@ var TransformControlsGizmo = function () {
|
|
|
|
|
|
var pickerTranslate = {
|
|
var pickerTranslate = {
|
|
X: [
|
|
X: [
|
|
- [ new Mesh( new CylinderBufferGeometry( 0.2, 0, 1, 4, 1, false ), matInvisible ), [ 0.6, 0, 0 ], [ 0, 0, - Math.PI / 2 ]]
|
|
|
|
|
|
+ [ new Mesh( new CylinderGeometry( 0.2, 0, 1, 4, 1, false ), matInvisible ), [ 0.6, 0, 0 ], [ 0, 0, - Math.PI / 2 ]]
|
|
],
|
|
],
|
|
Y: [
|
|
Y: [
|
|
- [ new Mesh( new CylinderBufferGeometry( 0.2, 0, 1, 4, 1, false ), matInvisible ), [ 0, 0.6, 0 ]]
|
|
|
|
|
|
+ [ new Mesh( new CylinderGeometry( 0.2, 0, 1, 4, 1, false ), matInvisible ), [ 0, 0.6, 0 ]]
|
|
],
|
|
],
|
|
Z: [
|
|
Z: [
|
|
- [ new Mesh( new CylinderBufferGeometry( 0.2, 0, 1, 4, 1, false ), matInvisible ), [ 0, 0, 0.6 ], [ Math.PI / 2, 0, 0 ]]
|
|
|
|
|
|
+ [ new Mesh( new CylinderGeometry( 0.2, 0, 1, 4, 1, false ), matInvisible ), [ 0, 0, 0.6 ], [ Math.PI / 2, 0, 0 ]]
|
|
],
|
|
],
|
|
XYZ: [
|
|
XYZ: [
|
|
- [ new Mesh( new OctahedronBufferGeometry( 0.2, 0 ), matInvisible ) ]
|
|
|
|
|
|
+ [ new Mesh( new OctahedronGeometry( 0.2, 0 ), matInvisible ) ]
|
|
],
|
|
],
|
|
XY: [
|
|
XY: [
|
|
- [ new Mesh( new PlaneBufferGeometry( 0.4, 0.4 ), matInvisible ), [ 0.2, 0.2, 0 ]]
|
|
|
|
|
|
+ [ new Mesh( new PlaneGeometry( 0.4, 0.4 ), matInvisible ), [ 0.2, 0.2, 0 ]]
|
|
],
|
|
],
|
|
YZ: [
|
|
YZ: [
|
|
- [ new Mesh( new PlaneBufferGeometry( 0.4, 0.4 ), matInvisible ), [ 0, 0.2, 0.2 ], [ 0, Math.PI / 2, 0 ]]
|
|
|
|
|
|
+ [ new Mesh( new PlaneGeometry( 0.4, 0.4 ), matInvisible ), [ 0, 0.2, 0.2 ], [ 0, Math.PI / 2, 0 ]]
|
|
],
|
|
],
|
|
XZ: [
|
|
XZ: [
|
|
- [ new Mesh( new PlaneBufferGeometry( 0.4, 0.4 ), matInvisible ), [ 0.2, 0, 0.2 ], [ - Math.PI / 2, 0, 0 ]]
|
|
|
|
|
|
+ [ new Mesh( new PlaneGeometry( 0.4, 0.4 ), matInvisible ), [ 0.2, 0, 0.2 ], [ - Math.PI / 2, 0, 0 ]]
|
|
]
|
|
]
|
|
};
|
|
};
|
|
|
|
|
|
var helperTranslate = {
|
|
var helperTranslate = {
|
|
START: [
|
|
START: [
|
|
- [ new Mesh( new OctahedronBufferGeometry( 0.01, 2 ), matHelper ), null, null, null, 'helper' ]
|
|
|
|
|
|
+ [ new Mesh( new OctahedronGeometry( 0.01, 2 ), matHelper ), null, null, null, 'helper' ]
|
|
],
|
|
],
|
|
END: [
|
|
END: [
|
|
- [ new Mesh( new OctahedronBufferGeometry( 0.01, 2 ), matHelper ), null, null, null, 'helper' ]
|
|
|
|
|
|
+ [ new Mesh( new OctahedronGeometry( 0.01, 2 ), matHelper ), null, null, null, 'helper' ]
|
|
],
|
|
],
|
|
DELTA: [
|
|
DELTA: [
|
|
[ new Line( TranslateHelperGeometry(), matHelper ), null, null, null, 'helper' ]
|
|
[ new Line( TranslateHelperGeometry(), matHelper ), null, null, null, 'helper' ]
|
|
@@ -945,22 +945,22 @@ var TransformControlsGizmo = function () {
|
|
var gizmoRotate = {
|
|
var gizmoRotate = {
|
|
X: [
|
|
X: [
|
|
[ new Line( CircleGeometry( 1, 0.5 ), matLineRed ) ],
|
|
[ new Line( CircleGeometry( 1, 0.5 ), matLineRed ) ],
|
|
- [ new Mesh( new OctahedronBufferGeometry( 0.04, 0 ), matRed ), [ 0, 0, 0.99 ], null, [ 1, 3, 1 ]],
|
|
|
|
|
|
+ [ new Mesh( new OctahedronGeometry( 0.04, 0 ), matRed ), [ 0, 0, 0.99 ], null, [ 1, 3, 1 ]],
|
|
],
|
|
],
|
|
Y: [
|
|
Y: [
|
|
[ new Line( CircleGeometry( 1, 0.5 ), matLineGreen ), null, [ 0, 0, - Math.PI / 2 ]],
|
|
[ new Line( CircleGeometry( 1, 0.5 ), matLineGreen ), null, [ 0, 0, - Math.PI / 2 ]],
|
|
- [ new Mesh( new OctahedronBufferGeometry( 0.04, 0 ), matGreen ), [ 0, 0, 0.99 ], null, [ 3, 1, 1 ]],
|
|
|
|
|
|
+ [ new Mesh( new OctahedronGeometry( 0.04, 0 ), matGreen ), [ 0, 0, 0.99 ], null, [ 3, 1, 1 ]],
|
|
],
|
|
],
|
|
Z: [
|
|
Z: [
|
|
[ new Line( CircleGeometry( 1, 0.5 ), matLineBlue ), null, [ 0, Math.PI / 2, 0 ]],
|
|
[ new Line( CircleGeometry( 1, 0.5 ), matLineBlue ), null, [ 0, Math.PI / 2, 0 ]],
|
|
- [ new Mesh( new OctahedronBufferGeometry( 0.04, 0 ), matBlue ), [ 0.99, 0, 0 ], null, [ 1, 3, 1 ]],
|
|
|
|
|
|
+ [ new Mesh( new OctahedronGeometry( 0.04, 0 ), matBlue ), [ 0.99, 0, 0 ], null, [ 1, 3, 1 ]],
|
|
],
|
|
],
|
|
E: [
|
|
E: [
|
|
[ new Line( CircleGeometry( 1.25, 1 ), matLineYellowTransparent ), null, [ 0, Math.PI / 2, 0 ]],
|
|
[ new Line( CircleGeometry( 1.25, 1 ), matLineYellowTransparent ), null, [ 0, Math.PI / 2, 0 ]],
|
|
- [ new Mesh( new CylinderBufferGeometry( 0.03, 0, 0.15, 4, 1, false ), matLineYellowTransparent ), [ 1.17, 0, 0 ], [ 0, 0, - Math.PI / 2 ], [ 1, 1, 0.001 ]],
|
|
|
|
- [ new Mesh( new CylinderBufferGeometry( 0.03, 0, 0.15, 4, 1, false ), matLineYellowTransparent ), [ - 1.17, 0, 0 ], [ 0, 0, Math.PI / 2 ], [ 1, 1, 0.001 ]],
|
|
|
|
- [ new Mesh( new CylinderBufferGeometry( 0.03, 0, 0.15, 4, 1, false ), matLineYellowTransparent ), [ 0, - 1.17, 0 ], [ Math.PI, 0, 0 ], [ 1, 1, 0.001 ]],
|
|
|
|
- [ new Mesh( new CylinderBufferGeometry( 0.03, 0, 0.15, 4, 1, false ), matLineYellowTransparent ), [ 0, 1.17, 0 ], [ 0, 0, 0 ], [ 1, 1, 0.001 ]],
|
|
|
|
|
|
+ [ new Mesh( new CylinderGeometry( 0.03, 0, 0.15, 4, 1, false ), matLineYellowTransparent ), [ 1.17, 0, 0 ], [ 0, 0, - Math.PI / 2 ], [ 1, 1, 0.001 ]],
|
|
|
|
+ [ new Mesh( new CylinderGeometry( 0.03, 0, 0.15, 4, 1, false ), matLineYellowTransparent ), [ - 1.17, 0, 0 ], [ 0, 0, Math.PI / 2 ], [ 1, 1, 0.001 ]],
|
|
|
|
+ [ new Mesh( new CylinderGeometry( 0.03, 0, 0.15, 4, 1, false ), matLineYellowTransparent ), [ 0, - 1.17, 0 ], [ Math.PI, 0, 0 ], [ 1, 1, 0.001 ]],
|
|
|
|
+ [ new Mesh( new CylinderGeometry( 0.03, 0, 0.15, 4, 1, false ), matLineYellowTransparent ), [ 0, 1.17, 0 ], [ 0, 0, 0 ], [ 1, 1, 0.001 ]],
|
|
],
|
|
],
|
|
XYZE: [
|
|
XYZE: [
|
|
[ new Line( CircleGeometry( 1, 1 ), matLineGray ), null, [ 0, Math.PI / 2, 0 ]]
|
|
[ new Line( CircleGeometry( 1, 1 ), matLineGray ), null, [ 0, Math.PI / 2, 0 ]]
|
|
@@ -975,19 +975,19 @@ var TransformControlsGizmo = function () {
|
|
|
|
|
|
var pickerRotate = {
|
|
var pickerRotate = {
|
|
X: [
|
|
X: [
|
|
- [ new Mesh( new TorusBufferGeometry( 1, 0.1, 4, 24 ), matInvisible ), [ 0, 0, 0 ], [ 0, - Math.PI / 2, - Math.PI / 2 ]],
|
|
|
|
|
|
+ [ new Mesh( new TorusGeometry( 1, 0.1, 4, 24 ), matInvisible ), [ 0, 0, 0 ], [ 0, - Math.PI / 2, - Math.PI / 2 ]],
|
|
],
|
|
],
|
|
Y: [
|
|
Y: [
|
|
- [ new Mesh( new TorusBufferGeometry( 1, 0.1, 4, 24 ), matInvisible ), [ 0, 0, 0 ], [ Math.PI / 2, 0, 0 ]],
|
|
|
|
|
|
+ [ new Mesh( new TorusGeometry( 1, 0.1, 4, 24 ), matInvisible ), [ 0, 0, 0 ], [ Math.PI / 2, 0, 0 ]],
|
|
],
|
|
],
|
|
Z: [
|
|
Z: [
|
|
- [ new Mesh( new TorusBufferGeometry( 1, 0.1, 4, 24 ), matInvisible ), [ 0, 0, 0 ], [ 0, 0, - Math.PI / 2 ]],
|
|
|
|
|
|
+ [ new Mesh( new TorusGeometry( 1, 0.1, 4, 24 ), matInvisible ), [ 0, 0, 0 ], [ 0, 0, - Math.PI / 2 ]],
|
|
],
|
|
],
|
|
E: [
|
|
E: [
|
|
- [ new Mesh( new TorusBufferGeometry( 1.25, 0.1, 2, 24 ), matInvisible ) ]
|
|
|
|
|
|
+ [ new Mesh( new TorusGeometry( 1.25, 0.1, 2, 24 ), matInvisible ) ]
|
|
],
|
|
],
|
|
XYZE: [
|
|
XYZE: [
|
|
- [ new Mesh( new SphereBufferGeometry( 0.7, 10, 8 ), matInvisible ) ]
|
|
|
|
|
|
+ [ new Mesh( new SphereGeometry( 0.7, 10, 8 ), matInvisible ) ]
|
|
]
|
|
]
|
|
};
|
|
};
|
|
|
|
|
|
@@ -1020,25 +1020,25 @@ var TransformControlsGizmo = function () {
|
|
[ new Line( lineGeometry, matLineMagenta ), [ 0.98, 0, 0.855 ], [ 0, - Math.PI / 2, 0 ], [ 0.125, 1, 1 ]]
|
|
[ new Line( lineGeometry, matLineMagenta ), [ 0.98, 0, 0.855 ], [ 0, - Math.PI / 2, 0 ], [ 0.125, 1, 1 ]]
|
|
],
|
|
],
|
|
XYZX: [
|
|
XYZX: [
|
|
- [ new Mesh( new BoxBufferGeometry( 0.125, 0.125, 0.125 ), matWhiteTransparent.clone() ), [ 1.1, 0, 0 ]],
|
|
|
|
|
|
+ [ new Mesh( new BoxGeometry( 0.125, 0.125, 0.125 ), matWhiteTransparent.clone() ), [ 1.1, 0, 0 ]],
|
|
],
|
|
],
|
|
XYZY: [
|
|
XYZY: [
|
|
- [ new Mesh( new BoxBufferGeometry( 0.125, 0.125, 0.125 ), matWhiteTransparent.clone() ), [ 0, 1.1, 0 ]],
|
|
|
|
|
|
+ [ new Mesh( new BoxGeometry( 0.125, 0.125, 0.125 ), matWhiteTransparent.clone() ), [ 0, 1.1, 0 ]],
|
|
],
|
|
],
|
|
XYZZ: [
|
|
XYZZ: [
|
|
- [ new Mesh( new BoxBufferGeometry( 0.125, 0.125, 0.125 ), matWhiteTransparent.clone() ), [ 0, 0, 1.1 ]],
|
|
|
|
|
|
+ [ new Mesh( new BoxGeometry( 0.125, 0.125, 0.125 ), matWhiteTransparent.clone() ), [ 0, 0, 1.1 ]],
|
|
]
|
|
]
|
|
};
|
|
};
|
|
|
|
|
|
var pickerScale = {
|
|
var pickerScale = {
|
|
X: [
|
|
X: [
|
|
- [ new Mesh( new CylinderBufferGeometry( 0.2, 0, 0.8, 4, 1, false ), matInvisible ), [ 0.5, 0, 0 ], [ 0, 0, - Math.PI / 2 ]]
|
|
|
|
|
|
+ [ new Mesh( new CylinderGeometry( 0.2, 0, 0.8, 4, 1, false ), matInvisible ), [ 0.5, 0, 0 ], [ 0, 0, - Math.PI / 2 ]]
|
|
],
|
|
],
|
|
Y: [
|
|
Y: [
|
|
- [ new Mesh( new CylinderBufferGeometry( 0.2, 0, 0.8, 4, 1, false ), matInvisible ), [ 0, 0.5, 0 ]]
|
|
|
|
|
|
+ [ new Mesh( new CylinderGeometry( 0.2, 0, 0.8, 4, 1, false ), matInvisible ), [ 0, 0.5, 0 ]]
|
|
],
|
|
],
|
|
Z: [
|
|
Z: [
|
|
- [ new Mesh( new CylinderBufferGeometry( 0.2, 0, 0.8, 4, 1, false ), matInvisible ), [ 0, 0, 0.5 ], [ Math.PI / 2, 0, 0 ]]
|
|
|
|
|
|
+ [ new Mesh( new CylinderGeometry( 0.2, 0, 0.8, 4, 1, false ), matInvisible ), [ 0, 0, 0.5 ], [ Math.PI / 2, 0, 0 ]]
|
|
],
|
|
],
|
|
XY: [
|
|
XY: [
|
|
[ new Mesh( scaleHandleGeometry, matInvisible ), [ 0.85, 0.85, 0 ], null, [ 3, 3, 0.2 ]],
|
|
[ new Mesh( scaleHandleGeometry, matInvisible ), [ 0.85, 0.85, 0 ], null, [ 3, 3, 0.2 ]],
|
|
@@ -1050,13 +1050,13 @@ var TransformControlsGizmo = function () {
|
|
[ new Mesh( scaleHandleGeometry, matInvisible ), [ 0.85, 0, 0.85 ], null, [ 3, 0.2, 3 ]],
|
|
[ new Mesh( scaleHandleGeometry, matInvisible ), [ 0.85, 0, 0.85 ], null, [ 3, 0.2, 3 ]],
|
|
],
|
|
],
|
|
XYZX: [
|
|
XYZX: [
|
|
- [ new Mesh( new BoxBufferGeometry( 0.2, 0.2, 0.2 ), matInvisible ), [ 1.1, 0, 0 ]],
|
|
|
|
|
|
+ [ new Mesh( new BoxGeometry( 0.2, 0.2, 0.2 ), matInvisible ), [ 1.1, 0, 0 ]],
|
|
],
|
|
],
|
|
XYZY: [
|
|
XYZY: [
|
|
- [ new Mesh( new BoxBufferGeometry( 0.2, 0.2, 0.2 ), matInvisible ), [ 0, 1.1, 0 ]],
|
|
|
|
|
|
+ [ new Mesh( new BoxGeometry( 0.2, 0.2, 0.2 ), matInvisible ), [ 0, 1.1, 0 ]],
|
|
],
|
|
],
|
|
XYZZ: [
|
|
XYZZ: [
|
|
- [ new Mesh( new BoxBufferGeometry( 0.2, 0.2, 0.2 ), matInvisible ), [ 0, 0, 1.1 ]],
|
|
|
|
|
|
+ [ new Mesh( new BoxGeometry( 0.2, 0.2, 0.2 ), matInvisible ), [ 0, 0, 1.1 ]],
|
|
]
|
|
]
|
|
};
|
|
};
|
|
|
|
|
|
@@ -1583,7 +1583,7 @@ var TransformControlsPlane = function () {
|
|
'use strict';
|
|
'use strict';
|
|
|
|
|
|
Mesh.call( this,
|
|
Mesh.call( this,
|
|
- new PlaneBufferGeometry( 100000, 100000, 2, 2 ),
|
|
|
|
|
|
+ new PlaneGeometry( 100000, 100000, 2, 2 ),
|
|
new MeshBasicMaterial( { visible: false, wireframe: true, side: DoubleSide, transparent: true, opacity: 0.1, toneMapped: false } )
|
|
new MeshBasicMaterial( { visible: false, wireframe: true, side: DoubleSide, transparent: true, opacity: 0.1, toneMapped: false } )
|
|
);
|
|
);
|
|
|
|
|