X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=radiant%2Fview.cpp;h=7e6726a8b8701d3b4a6541da1db52f5bb6eec592;hb=9dfae1c9b270ee369c6362903a9205b30751b95f;hp=a0a48c43f4460fcc35ea2d90b96e5e12b77e1b63;hpb=0a6d5683b0cfa1a0bd7ef64bada105dbe4ddd6e1;p=xonotic%2Fnetradiant.git diff --git a/radiant/view.cpp b/radiant/view.cpp index a0a48c43..7e6726a8 100644 --- a/radiant/view.cpp +++ b/radiant/view.cpp @@ -34,22 +34,25 @@ int g_count_oriented_bboxs; #endif -void Cull_ResetStats(){ +void Cull_ResetStats() +{ #if defined( DEBUG_CULLING ) - g_count_dots = 0; - g_count_planes = 0; - g_count_oriented_planes = 0; - g_count_bboxs = 0; - g_count_oriented_bboxs = 0; + g_count_dots = 0; + g_count_planes = 0; + g_count_oriented_planes = 0; + g_count_bboxs = 0; + g_count_oriented_bboxs = 0; #endif } -const char* Cull_GetStats(){ +const char *Cull_GetStats() +{ #if defined( DEBUG_CULLING ) - sprintf( g_cull_stats, "dots: %d | planes %d + %d | bboxs %d + %d", g_count_dots, g_count_planes, g_count_oriented_planes, g_count_bboxs, g_count_oriented_bboxs ); - return g_cull_stats; + sprintf(g_cull_stats, "dots: %d | planes %d + %d | bboxs %d + %d", g_count_dots, g_count_planes, + g_count_oriented_planes, g_count_bboxs, g_count_oriented_bboxs); + return g_cull_stats; #else - return ""; + return ""; #endif }