Skip to content

Commit 1a1772c

Browse files
committed
Fix wrong place of isQuaternion property
1 parent 6df0d1c commit 1a1772c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/math/Quaternion.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ function Quaternion( x, y, z, w ) {
1919

2020
Object.assign( Quaternion, {
2121

22-
isQuaternion: true,
23-
2422
slerp: function ( qa, qb, qm, t ) {
2523

2624
return qm.copy( qa ).slerp( qb, t );
@@ -165,6 +163,8 @@ Object.defineProperties( Quaternion.prototype, {
165163

166164
Object.assign( Quaternion.prototype, {
167165

166+
isQuaternion: true,
167+
168168
set: function ( x, y, z, w ) {
169169

170170
this._x = x;

0 commit comments

Comments
 (0)