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
|
|
@ -591,7 +591,7 @@ Ref<ArrayMesh> MeshInstance3D::bake_mesh_from_current_blend_shape_mix(Ref<ArrayM
|
|||
|
||||
for (int blendshape_index = 0; blendshape_index < blend_shape_count; blendshape_index++) {
|
||||
float blend_weight = get_blend_shape_value(blendshape_index);
|
||||
if (abs(blend_weight) <= 0.0001) {
|
||||
if (std::abs(blend_weight) <= 0.0001) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue