mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 10:36:38 -04:00
Urho3D is a free lightweight, cross-platform 2D and 3D game engine implemented in C++ and released under the MIT license. Greatly inspired by OGRE and Horde3D. WWW: https://urho3d.github.io/
11 lines
480 B
C++
11 lines
480 B
C++
--- Source/ThirdParty/StanHull/hull.cpp.orig 2019-05-24 15:51:45 UTC
|
|
+++ Source/ThirdParty/StanHull/hull.cpp
|
|
@@ -2587,7 +2587,7 @@ int overhull(Plane *planes,int planes_count,float3 *ve
|
|
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++)
|