|
|
@@ -1206,13 +1206,13 @@ var TransformControlsGizmo = function (options) {
|
|
|
|
|
|
var pickerRotate = {
|
|
|
X: [ //xzw 由原先全弧度改为一半弧度(Math.PI),否则在背面也会hover到
|
|
|
- [ new THREE.Mesh( new THREE.TorusBufferGeometry( 1, 0.06, 4, 24, rotFullCircle ? Math.PI*2 : Math.PI ), matInvisible ), [ 0, 0, 0 ], [ 0, - Math.PI / 2, - Math.PI / 2 ]],
|
|
|
+ [ new THREE.Mesh( new THREE.TorusBufferGeometry( 1, 0.06, 4, 24, options.rotFullCircle ? Math.PI*2 : Math.PI ), matInvisible ), [ 0, 0, 0 ], [ 0, - Math.PI / 2, - Math.PI / 2 ]],
|
|
|
],
|
|
|
Y: [
|
|
|
- [ new THREE.Mesh( new THREE.TorusBufferGeometry( 1, 0.06, 4, 24, rotFullCircle ? Math.PI*2 : Math.PI ), matInvisible ), [ 0, 0, 0 ], [ Math.PI / 2, 0, 0 ]],
|
|
|
+ [ new THREE.Mesh( new THREE.TorusBufferGeometry( 1, 0.06, 4, 24, options.rotFullCircle ? Math.PI*2 : Math.PI ), matInvisible ), [ 0, 0, 0 ], [ Math.PI / 2, 0, 0 ]],
|
|
|
],
|
|
|
Z: [
|
|
|
- [ new THREE.Mesh( new THREE.TorusBufferGeometry( 1, 0.06, 4, 24, rotFullCircle ? Math.PI*2 : Math.PI ), matInvisible ), [ 0, 0, 0 ], [ 0, 0, - Math.PI / 2 ]],
|
|
|
+ [ new THREE.Mesh( new THREE.TorusBufferGeometry( 1, 0.06, 4, 24, options.rotFullCircle ? Math.PI*2 : Math.PI ), matInvisible ), [ 0, 0, 0 ], [ 0, 0, - Math.PI / 2 ]],
|
|
|
],
|
|
|
E: [
|
|
|
[ new THREE.Mesh( new THREE.TorusBufferGeometry( 1.25, 0.06, 2, 24 ), matInvisible ) ]
|