MSVC: Fix warnings and build failure

This commit is contained in:
wmayer
2024-06-12 08:38:49 +02:00
committed by Chris Hennes
parent 238fd6a5fc
commit 636fa43c99
5 changed files with 5 additions and 4 deletions

View File

@@ -1496,7 +1496,7 @@ void SoDatumLabel::drawArcLength(const SbVec3f* points, float& angle, SbVec3f& t
float startangle = atan2f(vc1[1], vc1[0]);
float endangle = atan2f(vc2[1], vc2[0]);
if (endangle < startangle) {
endangle += 2. * M_PI;
endangle += 2. * (float)M_PI;
}
float radius = vc1.length();