mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Core: Replace C math headers with C++ equivalents
- Minor restructuring to ensure `math_funcs.h` is the central point for math functions
This commit is contained in:
parent
c5c1cd4440
commit
ad40939b6f
101 changed files with 414 additions and 498 deletions
|
|
@ -45,7 +45,7 @@ void AnimatedTexture::_update_proxy() {
|
|||
|
||||
time += delta;
|
||||
|
||||
float speed = speed_scale == 0 ? 0 : abs(1.0 / speed_scale);
|
||||
float speed = speed_scale == 0 ? 0 : std::abs(1.0 / speed_scale);
|
||||
|
||||
int iter_max = frame_count;
|
||||
while (iter_max && !pause) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue