jdf / peasycam

Dead-simple mouse-driven camera for Processing
http://MrFeinberg.com/peasycam/
Apache License 2.0
116 stars 35 forks source link

always rotate around origin #21

Closed ConstantinoSchillebeeckx closed 7 years ago

ConstantinoSchillebeeckx commented 9 years ago

excellent library, just about everything I was looking for! I've gone through the docs and couldn't immediately find it: is it possible to always rotate around the origin point, even after the camera has been panned?

jdf commented 7 years ago

I'm sorry it took so long to answer this.

No, the design of the library is such that panning changes the look-at point, and the look-at point is the center of rotation.