mirror of
https://github.com/godotengine/godot.git
synced 2024-12-27 11:24:59 +08:00
b8031bb7d6
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 |
||
---|---|---|
.. | ||
fog.cpp | ||
fog.h | ||
gi.cpp | ||
gi.h | ||
SCsub | ||
sky.cpp | ||
sky.h |