Quantcast
Viewing all articles
Browse latest Browse all 4929

ofCamera - Zoom to mouse position

@nicolas wrote:

Hi all,

I have an ofCamera camera with ortho enabled and can't figure out how to zoom to the mouse position. I already searched the forum with no luck finding an answer.

I tried setting a new position of the camera (depending on mouse position) and then scaling, scaling then setting a new position, and a few other things that didn't work.

Any help on how to do this?

Thanks!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles