Skip to content

Commit 4cf4da0

Browse files
satelllteRuthySheffi
authored andcommitted
GLTFLoader: rename _q to _quaternion (mrdoob#30917)
1 parent e5f8c81 commit 4cf4da0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/jsm/loaders/GLTFLoader.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2217,15 +2217,15 @@ class GLTFCubicSplineInterpolant extends Interpolant {
22172217

22182218
}
22192219

2220-
const _q = new Quaternion();
2220+
const _quaternion = new Quaternion();
22212221

22222222
class GLTFCubicSplineQuaternionInterpolant extends GLTFCubicSplineInterpolant {
22232223

22242224
interpolate_( i1, t0, t, t1 ) {
22252225

22262226
const result = super.interpolate_( i1, t0, t, t1 );
22272227

2228-
_q.fromArray( result ).normalize().toArray( result );
2228+
_quaternion.fromArray( result ).normalize().toArray( result );
22292229

22302230
return result;
22312231

0 commit comments

Comments
 (0)