Function: scaleRelativeToPoint()
scaleRelativeToPoint(
point
,pivot
,scale
):Vector2
Defined in: math/scale-relative-to-point.ts:11
Scales a point relative to a pivot point by a given scale factor.
Parameters
point
The point to scale.
pivot
The pivot point to scale relative to.
scale
The scale factor as a Vector2.
Returns
A new Vector2 representing the scaled point.