From e0500b67686ad390b4203d29517f3458b14f9534 Mon Sep 17 00:00:00 2001 From: CJ Bailey Date: Fri, 7 Sep 2018 23:30:00 +0100 Subject: [PATCH] Quaternion is missing the "isQuaternion" property Euler has "isEuler", Vector3 has "isVector3"... etc. etc. Quaternion does not. --- src/math/Quaternion.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/math/Quaternion.js b/src/math/Quaternion.js index 019823e932..5a82119939 100644 --- a/src/math/Quaternion.js +++ b/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 ); -- GitLab