From f5b12a0a9d3febba6dc480c080c0d7753b28eb3e Mon Sep 17 00:00:00 2001 From: David Rowe Date: Thu, 30 Nov 2017 19:16:51 +1300 Subject: [PATCH] Fix typo --- libraries/script-engine/src/Quat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/script-engine/src/Quat.h b/libraries/script-engine/src/Quat.h index a0c1378b23..23e8e3b896 100644 --- a/libraries/script-engine/src/Quat.h +++ b/libraries/script-engine/src/Quat.h @@ -318,7 +318,7 @@ public slots: * @example Animate between one rotation and another. * var dt = amountOfTimeThatHasPassed; * var mixFactor = amountOfTimeThatHasPassed / TIME_TO_COMPLETE; - * if (mixFactor) > 1) { + * if (mixFactor > 1) { * mixFactor = 1; * } * var newRotation = Quat.mix(startRotation, endRotation, mixFactor);