aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
diff options
context:
space:
mode:
authorDahlia Trimble2008-06-21 08:50:56 +0000
committerDahlia Trimble2008-06-21 08:50:56 +0000
commit7b4991430b1667ebdab50daa94f23fde958140f6 (patch)
tree6795dcb352c7b84615847b92c7a6a6a16b4e59fd /OpenSim/Region/Physics/Meshing/Meshmerizer.cs
parent* Persists region banlists across reboots for the sqlite datastore also now. (diff)
downloadopensim-SC_OLD-7b4991430b1667ebdab50daa94f23fde958140f6.zip
opensim-SC_OLD-7b4991430b1667ebdab50daa94f23fde958140f6.tar.gz
opensim-SC_OLD-7b4991430b1667ebdab50daa94f23fde958140f6.tar.bz2
opensim-SC_OLD-7b4991430b1667ebdab50daa94f23fde958140f6.tar.xz
Changes selection criteria to allow meshing of more sphere prim configurations.
Adds comments to some functions in Meshmerizer.cs.
Diffstat (limited to 'OpenSim/Region/Physics/Meshing/Meshmerizer.cs')
-rw-r--r--OpenSim/Region/Physics/Meshing/Meshmerizer.cs15
1 files changed, 14 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
index bf6b70c..c9be614 100644
--- a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
+++ b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
@@ -1265,7 +1265,13 @@ namespace OpenSim.Region.Physics.Meshing
1265 return result; 1265 return result;
1266 } 1266 }
1267 1267
1268 1268 /// <summary>
1269 /// builds an icosahedral geodesic sphere - used as default in place of problem meshes
1270 /// </summary>
1271 /// <param name="primName"></param>
1272 /// <param name="primShape"></param>
1273 /// <param name="size"></param>
1274 /// <returns></returns>
1269 private static Mesh CreateSphereMesh(String primName, PrimitiveBaseShape primShape, PhysicsVector size) 1275 private static Mesh CreateSphereMesh(String primName, PrimitiveBaseShape primShape, PhysicsVector size)
1270 { 1276 {
1271 // Builds an icosahedral geodesic sphere 1277 // Builds an icosahedral geodesic sphere
@@ -1394,6 +1400,13 @@ namespace OpenSim.Region.Physics.Meshing
1394 1400
1395 } 1401 }
1396 1402
1403 /// <summary>
1404 /// Creates a mesh for prim types torus, ring, tube, and sphere
1405 /// </summary>
1406 /// <param name="primName"></param>
1407 /// <param name="primShape"></param>
1408 /// <param name="size"></param>
1409 /// <returns></returns>
1397 private static Mesh CreateCircularPathMesh(String primName, PrimitiveBaseShape primShape, PhysicsVector size) 1410 private static Mesh CreateCircularPathMesh(String primName, PrimitiveBaseShape primShape, PhysicsVector size)
1398 { 1411 {
1399 1412