Skip to content

Commit c77c1b5

Browse files
committed
Fixes issue with gcc and std::sqrtf
1 parent 9187153 commit c77c1b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Engine/StratusMath.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ namespace stratus {
417417
float dy = std::max<float>(aabb.vmin.v[1] - point.y, std::max<float>(0.0f, point.y - aabb.vmax.v[1]));
418418
float dz = std::max<float>(aabb.vmin.v[2] - point.z, std::max<float>(0.0f, point.z - aabb.vmax.v[2]));
419419

420-
return std::sqrtf(dx * dx + dy * dy + dz + dz);
420+
return std::sqrt(dx * dx + dy * dy + dz + dz);
421421
}
422422

423423
// These are the first 512 values of the Halton sequence. For more information see:

0 commit comments

Comments
 (0)