File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -104,10 +104,9 @@ class ControllerModel extends THREE.Object3D {
104
104
} else if ( valueNodeProperty === Constants . VisualResponseProperty . TRANSFORM ) {
105
105
const minNode = this . nodes [ minNodeName ] ;
106
106
const maxNode = this . nodes [ maxNodeName ] ;
107
- THREE . Quaternion . slerp (
107
+ valueNode . quaternion . slerpQuaternions (
108
108
minNode . quaternion ,
109
109
maxNode . quaternion ,
110
- valueNode . quaternion ,
111
110
value
112
111
) ;
113
112
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ function initializeThree() {
133
133
three . scene . background = new THREE . Color ( 0x00aa44 ) ;
134
134
three . renderer = new THREE . WebGLRenderer ( { antialias : true } ) ;
135
135
three . renderer . setSize ( width , height ) ;
136
- three . renderer . gammaOutput = true ;
136
+ three . renderer . outputEncoding = THREE . sRGBEncoding ;
137
137
138
138
// Set up the controls for moving the scene around
139
139
three . cameraControls = new OrbitControls ( three . camera , three . renderer . domElement ) ;
You can’t perform that action at this time.
0 commit comments