diff --git a/components/sceneutil/mwshadowtechnique.cpp b/components/sceneutil/mwshadowtechnique.cpp index c3bf99c96..b90f67ff6 100644 --- a/components/sceneutil/mwshadowtechnique.cpp +++ b/components/sceneutil/mwshadowtechnique.cpp @@ -2079,7 +2079,7 @@ struct ConvexHull center /= double(intersections.size()); - typedef std::map VertexMap; + typedef std::map>> VertexMap; VertexMap vertexMap; for(Vertices::iterator itr = intersections.begin(); itr != intersections.end(); @@ -2090,16 +2090,38 @@ struct ConvexHull double v = dv * up; double angle = atan2(h,v); // OSG_NOTICE<<"angle = "<