Hi!
Anybody have an idea of how to calculate the new Camera Pos after Zooming It using the current mouse Position as Reference?
Something like the magnifying glass from photoshop, if you click some point of the image, the zoom will point to that point!
I tried several things and none worked as expected! =)
Any advice?
To change zoom I'm increasing Camera.Zoom.X and Camera.Zoom.Y.... I need the new Camera.Position.X and Camera.Position.Y use the click point as reference after the new Zoom.
Bookmarks