Gizmo: let cage gizmo follow the cursor exactly when scaling #104405

Closed
Weizhen Huang wants to merge 1 commits from weizhen:exact_cursor into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

1 Commits

Author SHA1 Message Date
Weizhen Huang b65433ab1c Gizmo: let cage gizmo follow the cursor exactly when scaling
Ref #104280
The scaling of area light / spot light blend was wrong because it is calculated for pivot at the edges. The new implementation in theory works for all `abs(pivot) <= 0.5f`, although we only have -0.5, 0, and 0.5.
2023-02-13 10:39:44 +01:00