Skip to content

Commit 338bb1b

Browse files
authored
Merge pull request #14909 from Itee/fix_isQuaternion
Fix wrong place of isQuaternion property
2 parents 6df0d1c + 1a1772c commit 338bb1b

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)