fix MSVC 2013 compilation (std::min needs #include <algorithm>

add example use of GJK+MPR in VoronoiFractureDemo
This commit is contained in:
erwin coumans
2014-11-05 08:58:24 -08:00
parent ba0dd676aa
commit eafbf817c3
7 changed files with 429 additions and 7 deletions

View File

@@ -8,7 +8,7 @@
// OTTL is licensed under zlib: http://opensource.org/licenses/zlib-license.php
//
#include <OpenTissue/configuration.h>
#include <algorithm> //std::min
namespace OpenTissue
{
namespace fem
@@ -22,7 +22,7 @@ namespace OpenTissue
{
using std::min;
using std::sqrt;
using std::sqrt;
typedef typename tetrahedron_type::vector3_type vector3_type;