1 #define CXR_IMPLEMENTATION
2 #define CXR_VALVE_MAP_FILE
7 int main(int arc
, const char *argv
[])
9 cxr_vdf
*vdo
= cxr_vdf_open(
10 "/home/harry/Documents/blender_addons_remote/addons/convexer/test.vmf" );
21 .offset
= { 0.0, 0.0, 0.0 },
23 .skyname
= "vertigoblue"
26 cxr_world
*world
= cxr_decompose( &test_mesh
, NULL
);
29 cxr_push_world_vmf( world
, &ctx
, vdo
);
30 cxr_free_world( world
);
33 cxr_vmf_begin_entities( &ctx
, vdo
);
34 cxr_end_vmf( &ctx
, vdo
);