Sfoglia il codice sorgente

Merge branch 'patch-1' of https://github.com/cjbailey/three.js into dev

Mr.doob 6 anni fa
parent
commit
b349852b76
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      src/math/Quaternion.js

+ 2 - 1
src/math/Quaternion.js

@@ -18,7 +18,8 @@ function Quaternion( x, y, z, w ) {
 }
 
 Object.assign( Quaternion, {
-
+	isQuaternion: true,
+	
 	slerp: function ( qa, qb, qm, t ) {
 
 		return qm.copy( qa ).slerp( qb, t );