free memory for btShapeHulls, keep track of it in GL_ShapeDrawer.

move btShapeHull and btConvexHull into its own library in Extras/ConvexHull (it allocates memory using mem/delete and refactoring into using btAlignedAlloc/Free takes too much time)
fix heightfield / btOptimizedBvh for quantization, so that raycast can use quantized aabb (clamp up for maxima and down for minima)

work-in-progress (update projectfiles etc)
This commit is contained in:
ejcoumans
2008-02-13 07:14:19 +00:00
parent 98006e5607
commit eeb78b8d45
31 changed files with 188 additions and 117 deletions

17
Extras/ConvexHull/Jamfile Normal file
View File

@@ -0,0 +1,17 @@
SubDir TOP Extras ConvexHull ;
Library convexhull : [ Wildcard *.h *.cpp ] : noinstall ;
#internal header path to compile convexhull
CFlags convexhull : [ FIncludes $(TOP)/Extras/ConvexHull ] ;
#expose header include path for apps that depend on ConvexHull
convexhull.CFLAGS = [ FIncludes $(TOP)/Extras/ConvexHull ] ;
#same for msvcgen
MsvcGenConfig convexhull.INCDIRS : $(TOP)/Extras/ConvexHull ;
#for the include paths
LibDepends convexhull : bulletcollision ;
#InstallHeader [ Wildcard *.h ] : ConvexHull ;