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:
@ -1178,8 +1178,8 @@ void AnimationMixer::_blend_process(double p_delta, bool p_update_only) {
|
||||
real_t weight = ai.playback_info.weight;
|
||||
const real_t *track_weights_ptr = ai.playback_info.track_weights.ptr();
|
||||
int track_weights_count = ai.playback_info.track_weights.size();
|
||||
bool backward = signbit(delta); // This flag is used by the root motion calculates or detecting the end of audio stream.
|
||||
bool seeked_backward = signbit(p_delta);
|
||||
bool backward = std::signbit(delta); // This flag is used by the root motion calculates or detecting the end of audio stream.
|
||||
bool seeked_backward = std::signbit(p_delta);
|
||||
#ifndef _3D_DISABLED
|
||||
bool calc_root = !seeked || is_external_seeking;
|
||||
#endif // _3D_DISABLED
|
||||
|
||||
Reference in New Issue
Block a user