Skip to content
Snippets Groups Projects
Commit cf39ab86 authored by isucan's avatar isucan
Browse files

fix clang warning

git-svn-id: https://kforge.ros.org/fcl/fcl_ros@186 253336fb-580f-4252-a368-f3cef5a2a82b
parent 77c60417
No related branches found
No related tags found
No related merge requests found
...@@ -298,7 +298,7 @@ void generateBVHModel(BVHModel<BV>& model, const Cone& shape, const Transform3f& ...@@ -298,7 +298,7 @@ void generateBVHModel(BVHModel<BV>& model, const Cone& shape, const Transform3f&
for(unsigned int i = 0; i < tot; ++i) for(unsigned int i = 0; i < tot; ++i)
{ {
Triangle tmp(h_num * tot + 1, (h_num - 1) * tot + (i == tot - 1) ? 0 : (i + 1), (h_num - 1) * tot + i); Triangle tmp(h_num * tot + 1, (h_num - 1) * tot + ((i == tot - 1) ? 0 : (i + 1)), (h_num - 1) * tot + i);
tri_indices.push_back(tmp); tri_indices.push_back(tmp);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment