This commit is contained in:
David Rowe 2017-11-30 19:16:51 +13:00
parent a01d118c57
commit f5b12a0a9d

View file

@ -318,7 +318,7 @@ public slots:
* @example <caption>Animate between one rotation and another.</caption>
* var dt = amountOfTimeThatHasPassed;
* var mixFactor = amountOfTimeThatHasPassed / TIME_TO_COMPLETE;
* if (mixFactor) > 1) {
* if (mixFactor > 1) {
* mixFactor = 1;
* }
* var newRotation = Quat.mix(startRotation, endRotation, mixFactor);