]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - libs/entitylib.h
add more vertexes to the entity display to make it more visible (paint an X in its...
[xonotic/netradiant.git] / libs / entitylib.h
index 6602357b8f4663bde0ce0608192b3d9e75d6ebb5..2612ac2bd9f553e86f1b69da8fb39fa70a243b62 100644 (file)
@@ -104,10 +104,11 @@ inline void aabb_testselect(const AABB& aabb, SelectionTest& test, SelectionInte
 
 inline void aabb_draw_wire(const Vector3 points[8])
 {
-  unsigned int indices[24] = {
+  unsigned int indices[32] = {
     0, 1, 1, 2, 2, 3, 3, 0,
     4, 5, 5, 6, 6, 7, 7, 4,
     0, 4, 1, 5, 2, 6, 3, 7,
+    0, 6, 1, 7, 2, 4, 3, 5 // X cross
   };
 #if 1
   glVertexPointer(3, GL_FLOAT, 0, points);