summaryrefslogtreecommitdiff
path: root/scene/main
diff options
context:
space:
mode:
authorMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2022-10-05 10:56:19 +0200
committerMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2022-10-18 12:47:40 +0200
commitb8031bb7d6d0bed33c058db20b58800e615538e3 (patch)
tree0017468ac78879e633a1a7f874364e6fc1bc2ae2 /scene/main
parent2e3662acbd8586697db38569785cc9f97dff945e (diff)
Code simplifications
1. Viewport::get_visible_rect().position is always zero. So Control::get_window_rect is identical to Control::get_global_rect. Remove Control::get_window_rect since it is not used in the source code. 2. sqrt(a * a) = abs(a) for doubles 3. Simplify affine_inverse combination 4. Simplify calculation in shaders
Diffstat (limited to 'scene/main')
0 files changed, 0 insertions, 0 deletions