diff options
author | Dahlia Trimble | 2008-11-29 11:02:14 +0000 |
---|---|---|
committer | Dahlia Trimble | 2008-11-29 11:02:14 +0000 |
commit | fdd238833163eb947986bfcdd09da82f6949a5f2 (patch) | |
tree | 6b90177758405f6106f4f5d4d75e3b98bf08053c /OpenSim/Region/Physics/Meshing/HelperTypes.cs | |
parent | Comment the ScriptSponsor and restore the indefinite lifetime for (diff) | |
download | opensim-SC_OLD-fdd238833163eb947986bfcdd09da82f6949a5f2.zip opensim-SC_OLD-fdd238833163eb947986bfcdd09da82f6949a5f2.tar.gz opensim-SC_OLD-fdd238833163eb947986bfcdd09da82f6949a5f2.tar.bz2 opensim-SC_OLD-fdd238833163eb947986bfcdd09da82f6949a5f2.tar.xz |
Update meshing code to sync with current PrimMesher.cs on forge.
Migrate sculpt meshing code to primMesher version. This should result in more accurate physical sculpted prim proxies.
Remove much obsolete code from Region/Physics/Meshing
Diffstat (limited to 'OpenSim/Region/Physics/Meshing/HelperTypes.cs')
-rw-r--r-- | OpenSim/Region/Physics/Meshing/HelperTypes.cs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/OpenSim/Region/Physics/Meshing/HelperTypes.cs b/OpenSim/Region/Physics/Meshing/HelperTypes.cs index 7491782..7198cae 100644 --- a/OpenSim/Region/Physics/Meshing/HelperTypes.cs +++ b/OpenSim/Region/Physics/Meshing/HelperTypes.cs | |||
@@ -356,20 +356,6 @@ public class Triangle | |||
356 | radius_square = (float) (rx*rx + ry*ry); | 356 | radius_square = (float) (rx*rx + ry*ry); |
357 | } | 357 | } |
358 | 358 | ||
359 | public List<Simplex> GetSimplices() | ||
360 | { | ||
361 | List<Simplex> result = new List<Simplex>(); | ||
362 | Simplex s1 = new Simplex(v1, v2); | ||
363 | Simplex s2 = new Simplex(v2, v3); | ||
364 | Simplex s3 = new Simplex(v3, v1); | ||
365 | |||
366 | result.Add(s1); | ||
367 | result.Add(s2); | ||
368 | result.Add(s3); | ||
369 | |||
370 | return result; | ||
371 | } | ||
372 | |||
373 | public override String ToString() | 359 | public override String ToString() |
374 | { | 360 | { |
375 | NumberFormatInfo nfi = new NumberFormatInfo(); | 361 | NumberFormatInfo nfi = new NumberFormatInfo(); |