yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #01148
[svn] r1724 - trunk/extra/mgpost/src
Author: richefeu
Date: 2009-03-19 16:55:37 +0100 (Thu, 19 Mar 2009)
New Revision: 1724
Modified:
trunk/extra/mgpost/src/mgpost.c
Log:
Simplify sphere shapes when if there number is increased
Modified: trunk/extra/mgpost/src/mgpost.c
===================================================================
--- trunk/extra/mgpost/src/mgpost.c 2009-03-19 12:50:43 UTC (rev 1723)
+++ trunk/extra/mgpost/src/mgpost.c 2009-03-19 15:55:37 UTC (rev 1724)
@@ -125,15 +125,15 @@
nb_subdiv_sphere = 20;
nb_subdiv_sphere_2 = 12;
}
- else if (nbel < 10000)
+ else if (nbel < 40000)
{
nb_subdiv_sphere = 12;
nb_subdiv_sphere_2 = 8;
}
else
{
- nb_subdiv_sphere = 4;
- nb_subdiv_sphere_2 = 4;
+ nb_subdiv_sphere = 6;
+ nb_subdiv_sphere_2 = 6;
}
Follow ups