refactor(loop): remove unescessary call to getElapsedTime
The call is not causing any bug since it is called immediatly after getDelta but it is doing a duplicate job with getDelta() that is already updating the .elapsedTime property.
https://github.com/mrdoob/three.js/blob/master/src/core/Clock.js#L58
Deploy Preview for tresjs-docs failed. Why did it fail? →
| Name | Link |
|---|---|
| Latest commit | 49fbc689348a2e2db71ba31127f8512ee92359ef |
| Latest deploy log | https://app.netlify.com/sites/tresjs-docs/deploys/67a9f0efffebd20008986a7f |
@AlaricBaraou could you by chance rebase your branch on the latest status of main? :)
Thanks!
Deploy Preview for tresjs-docs ready!
| Name | Link |
|---|---|
| Latest commit | a544a8f973e223f05f7c496c2389013211ed8966 |
| Latest deploy log | https://app.netlify.com/projects/tresjs-docs/deploys/68518d74c4437500081e5d69 |
| Deploy Preview | https://deploy-preview-928--tresjs-docs.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify project configuration.
Thanks @colinscz, it should be good now 👍
Thanks @AlaricBaraou I just link the documentation entry here as well. https://threejs.org/docs/#api/en/core/Clock.getDelta
@alvarosabu the PR is all yours :)
@AlaricBaraou Thank you for pointing to this. 🙌 I applied your suggestion to the changes we made concerning v5 here.
I'm closing this PR as the changes are reflected with the release of v5 now.