]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/view.cpp
reformat code! now the code is only ugly on the *inside*
[xonotic/netradiant.git] / radiant / view.cpp
index a0a48c43f4460fcc35ea2d90b96e5e12b77e1b63..7e6726a8b8701d3b4a6541da1db52f5bb6eec592 100644 (file)
@@ -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
 }