Skip to content
Snippets Groups Projects
Commit af7f8f03 authored by Sebastian Eibl's avatar Sebastian Eibl
Browse files

[BUGFIX] support function of ConvexPolyhedron

parent a930f91b
No related merge requests found
......@@ -193,6 +193,8 @@ real_t ConvexPolyhedron::getSurfaceArea() const
*/
Vec3 ConvexPolyhedron::support( const Vec3& d ) const
{
if (math::equal(d.length(), real_t(0))) return Vec3(0,0,0);
TriangleMesh::Normal d_loc = toOpenMesh( vectorFromWFtoBF(d) );
TriangleMesh::VertexHandle startVertex;
......
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