From 1d3677eb9b31cc9a1238caabd464538438d573af Mon Sep 17 00:00:00 2001 From: Dahlia Trimble Date: Fri, 1 Aug 2008 05:45:58 +0000 Subject: Thank you jhurliman for a meshmerizer patch that replaces the quaternion->matrix->vertex*matrix->vertex code with a direct transformation. --- OpenSim/Region/Physics/Meshing/Meshmerizer.cs | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'OpenSim/Region/Physics/Meshing/Meshmerizer.cs') diff --git a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs index 984114b..58da667 100644 --- a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs +++ b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs @@ -1556,20 +1556,6 @@ namespace OpenSim.Region.Physics.Meshing // m_log.DebugFormat("Starting cutting of the hollow shape from the prim {1}", 0, primName); SimpleHull cuttedHull = SimpleHull.SubtractHull(outerHull, cutHull); - if ((primShape.ProfileCurve & 0x07) == (byte)ProfileShape.Circle) - { - Quaternion zFlip = new Quaternion(new Vertex(0.0f, 0.0f, 1.0f), (float)Math.PI); - Vertex vTmp = new Vertex(0.0f, 0.0f, 0.0f); - foreach (Vertex v in cuttedHull.getVertices()) - if (v != null) - { - vTmp = v * zFlip; - v.X = vTmp.X; - v.Y = vTmp.Y; - v.Z = vTmp.Z; - } - } - outerHull = cuttedHull; } -- cgit v1.1