Skip to content

Commit e63f0df

Browse files
authored
Removed windows warning (#1486)
Signed-off-by: Alejandro Hernandez Cordero <[email protected]>
1 parent e83f311 commit e63f0df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rviz_rendering/src/rviz_rendering/mesh_loader_helpers/assimp_loader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ Ogre::MeshPtr AssimpLoader::meshFromAssimpScene(const std::string & name, const
215215
// by applying a 90 degree rotation about the X-axis,
216216
// effectively going from (x, y, z) to (x, -z, y)
217217
aiMatrix4x4 transform;
218-
aiMatrix4x4::RotationX(AI_MATH_HALF_PI, transform);
218+
aiMatrix4x4::RotationX(static_cast<float>(AI_MATH_HALF_PI), transform);
219219
scene->mRootNode->mTransformation = scene->mRootNode->mTransformation * transform;
220220
}
221221

0 commit comments

Comments
 (0)