Browse Source

Fix stanhull return

Josh Engebretson 10 years ago
parent
commit
923deca52c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/ThirdParty/StanHull/hull.cpp

+ 1 - 1
Source/ThirdParty/StanHull/hull.cpp

@@ -2587,7 +2587,7 @@ int overhull(Plane *planes,int planes_count,float3 *verts, int verts_count,int m
 			 float3 *&verts_out, int &verts_count_out,  int *&faces_out, int &faces_count_out ,float inflate)
 {
 	int i,j;
-	if(verts_count <4) return NULL;
+    if(verts_count <4) return 0;
 	maxplanes = Min(maxplanes,planes_count);
 	float3 bmin(verts[0]),bmax(verts[0]);
 	for(i=0;i<verts_count;i++)