Skip to main content

Timeline for Scale around a point

Current License: CC BY-SA 3.0

3 events
when toggle format what by license comment
Sep 2, 2014 at 22:56 comment added Anko @TheHarrisonCrafter Yep OK, but read this answer carefully again. The linear transformation of scaling is defined relative to the origin. You need to combine them to scale around a point. You can also translate an image, but that's a different transformation. Some high-level graphics APIs expose a scale method which can optionally take a point too, but all that's really doing internally is applying an additional translate-operation.
Sep 2, 2014 at 18:51 comment added TankWhoCriedTom I am not trying to change the camera, as I am not working with cameras right now. I am trying to change the size of a rectangle(non exact) and make it change size proportionally around a point which will be the mouse on the screen.
Sep 2, 2014 at 14:53 history answered GaelFG CC BY-SA 3.0