Commit 7948e881 authored by Jan Möbius's avatar Jan Möbius

cppcheck fixes

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17410 383ad7c9-94d9-4d36-a494-682f7c89f535
parent be1c92ff
...@@ -630,7 +630,7 @@ int InfoMeshObjectPlugin::getClosestEdgeInFace(MeshT* _mesh, int _face_idx, cons ...@@ -630,7 +630,7 @@ int InfoMeshObjectPlugin::getClosestEdgeInFace(MeshT* _mesh, int _face_idx, cons
vp2 = ACG::Vec3d(p2[0], p2[1], p2[2]); vp2 = ACG::Vec3d(p2[0], p2[1], p2[2]);
const ACG::Vec3d e = (vp2 - vp1).normalized(); const ACG::Vec3d e = (vp2 - vp1).normalized();
const double g = _hitPoint - vp1; const ACG::Vec3d g = _hitPoint - vp1;
const double x = g | e; const double x = g | e;
const double temp_dist = (_hitPoint - (vp1 + x * e)).length(); const double temp_dist = (_hitPoint - (vp1 + x * e)).length();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment