[p5.js 2.0 Bug Report]: p5.Camera.prototype.slerp
fails when using orthographic cameras
#7837
Open
1 of 17 tasks
Labels
Most appropriate sub-area of p5.js?
p5.js version
2.0.2
Web browser and version
Firefox 138.0.4
Operating system
Archlinux
Steps to reproduce this
The
slerp()
example on the beta docs works as expected when using perspective cameras.When all cameras are set to
ortho()
, the same logic throws an error:Uncaught (in promise) TypeError: setting getter-only property "mat4" slerp https://cdn.jsdelivr.net/npm/p5/lib/p5.min.js:1 draw http://127.0.0.1:5500/slerp/sketch.js:18
Snippet:
The text was updated successfully, but these errors were encountered: