]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
we can allow 31 sides for regular spheres, if we can do 1000 sides for a rock
authordivverent <divverent@61c419a2-8eb2-4b30-bcec-8cead039b335>
Fri, 12 Jun 2009 20:54:14 +0000 (20:54 +0000)
committerdivverent <divverent@61c419a2-8eb2-4b30-bcec-8cead039b335>
Fri, 12 Jun 2009 20:54:14 +0000 (20:54 +0000)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@380 61c419a2-8eb2-4b30-bcec-8cead039b335

radiant/brushmanip.cpp

index 939a982639314d4ba583ed6c84ae5afe593f0d33..ab83f39d4c7ce291f71cbda15ec1919854982abd 100644 (file)
@@ -215,7 +215,7 @@ void Brush_ConstructCone(Brush& brush, const AABB& bounds, std::size_t sides, co
 }
 
 const std::size_t c_brushSphere_minSides = 3;
-const std::size_t c_brushSphere_maxSides = 7;
+const std::size_t c_brushSphere_maxSides = 31;
 const char* const c_brushSphere_name = "brushSphere";
 
 void Brush_ConstructSphere(Brush& brush, const AABB& bounds, std::size_t sides, const char* shader, const TextureProjection& projection)