add comment for why MAX_HULL_POINTS is 42

This commit is contained in:
Andrew Meadows 2016-05-19 09:20:44 -07:00
parent 5a826d696a
commit f3fc00bc3a

View file

@ -21,6 +21,9 @@
#include "DoubleHashKey.h"
const float MIN_SHAPE_OFFSET = 0.001f; // offsets less than 1mm will be ignored
// Bullet has a mesh generation util for convex shapes that we used to
// trim convex hulls with many points down to only 42 points.
const int MAX_HULL_POINTS = 42;
enum ShapeType {