Fix all the doxygen warnings.

This commit is contained in:
Antonio Sánchez
2025-02-01 00:00:31 +00:00
parent 9589cc4e7f
commit b1e74b1ccd
85 changed files with 829 additions and 2782 deletions

View File

@@ -55,7 +55,7 @@ void GpuHelper::drawVector(const Vector3f& position, const Vector3f& vec, const
ax.normalize();
Vector3f tmp = vec;
tmp.normalize();
float angle = 180.f / M_PI * acos(tmp.z());
float angle = 180.f / EIGEN_PI * acos(tmp.z());
if (angle > 1e-3) glRotatef(angle, ax.x(), ax.y(), ax.z());
gluCylinder(cylinder, length / aspect, length / aspect, 0.8 * length, 10, 10);
glTranslatef(0.0, 0.0, 0.8 * length);
@@ -74,7 +74,7 @@ void GpuHelper::drawVectorBox(const Vector3f& position, const Vector3f& vec, con
ax.normalize();
Vector3f tmp = vec;
tmp.normalize();
float angle = 180.f / M_PI * acos(tmp.z());
float angle = 180.f / EIGEN_PI * acos(tmp.z());
if (angle > 1e-3) glRotatef(angle, ax.x(), ax.y(), ax.z());
gluCylinder(cylinder, length / aspect, length / aspect, 0.8 * length, 10, 10);
glTranslatef(0.0, 0.0, 0.8 * length);