Browse Source

Fix wrong place of isQuaternion property

Tristan VALCKE 6 years ago
parent
commit
1a1772c0e8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/math/Quaternion.js

+ 2 - 2
src/math/Quaternion.js

@@ -19,8 +19,6 @@ function Quaternion( x, y, z, w ) {
 
 Object.assign( Quaternion, {
 
-	isQuaternion: true,
-
 	slerp: function ( qa, qb, qm, t ) {
 
 		return qm.copy( qa ).slerp( qb, t );
@@ -165,6 +163,8 @@ Object.defineProperties( Quaternion.prototype, {
 
 Object.assign( Quaternion.prototype, {
 
+	isQuaternion: true,
+
 	set: function ( x, y, z, w ) {
 
 		this._x = x;