UI and interface
[convexer.git] / cxr / test.c
index 4529b9855854102f5b3e5b24722a3af565707d81..b8d91d89a67ba679a974d781341f240eb4a8fd26 100644 (file)
@@ -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 );