X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=cxr%2Ftest.c;h=b8d91d89a67ba679a974d781341f240eb4a8fd26;hb=8e1b6889db7ce10f8d594539ef74dc4390e8e891;hp=4529b9855854102f5b3e5b24722a3af565707d81;hpb=2937c186209f5ff766cacc9f17a118744ede7b7a;p=convexer.git diff --git a/cxr/test.c b/cxr/test.c index 4529b98..b8d91d8 100644 --- a/cxr/test.c +++ b/cxr/test.c @@ -1,4 +1,7 @@ -#include "convexer.c" +#define CXR_IMPLEMENTATION +#define CXR_VALVE_MAP_FILE +#define CXR_DEBUG 1 +#include "cxr.h" #include "solid.h" int main(int arc, const char *argv[]) @@ -20,7 +23,7 @@ int main(int arc, const char *argv[]) .skyname = "vertigoblue" }; - cxr_world *world = cxr_decompose( &test_mesh ); + cxr_world *world = cxr_decompose( &test_mesh, NULL ); if( world ) { cxr_push_world_vmf( world, &ctx, vdo );