cinder / Cinder

Cinder is a community-developed, free and open source library for professional-quality creative coding in C++.

Home Page:http://libcinder.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Camera method `getInverseViewMatrix()` returns out-of-date value

totalgee opened this issue · comments

If you have a Camera and modify its transform (by calling lookAt(), setEyePoint(), setViewDirection(), etc.) and then immediately call getInverseViewMatrix(), you don't get the correct matrix. This normally didn't show up as an issue because (presumably) many places call getViewMatrix() first, and many internal methods call calcMatrices().

Fixed by #2239.