aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics
diff options
context:
space:
mode:
authorJeff Ames2009-09-03 02:04:17 +0900
committerJeff Ames2009-09-03 02:04:17 +0900
commit56ddd6828cf5799405e2940cbde064ef06c3dd53 (patch)
tree33a617f030288db01b5a8107f1ce83e9d8db6819 /OpenSim/Region/Physics
parentMerge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim (diff)
downloadopensim-SC_OLD-56ddd6828cf5799405e2940cbde064ef06c3dd53.zip
opensim-SC_OLD-56ddd6828cf5799405e2940cbde064ef06c3dd53.tar.gz
opensim-SC_OLD-56ddd6828cf5799405e2940cbde064ef06c3dd53.tar.bz2
opensim-SC_OLD-56ddd6828cf5799405e2940cbde064ef06c3dd53.tar.xz
Add copyright headers. Formatting cleanup.
Diffstat (limited to 'OpenSim/Region/Physics')
-rw-r--r--OpenSim/Region/Physics/Meshing/Mesh.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/Meshing/Mesh.cs b/OpenSim/Region/Physics/Meshing/Mesh.cs
index b19cf70..ceafaad 100644
--- a/OpenSim/Region/Physics/Meshing/Mesh.cs
+++ b/OpenSim/Region/Physics/Meshing/Mesh.cs
@@ -65,7 +65,7 @@ namespace OpenSim.Region.Physics.Meshing
65 { 65 {
66 // If a vertex of the triangle is not yet in the vertices list, 66 // If a vertex of the triangle is not yet in the vertices list,
67 // add it and set its index to the current index count 67 // add it and set its index to the current index count
68 if( !vertices.ContainsKey(triangle.v1) ) 68 if (!vertices.ContainsKey(triangle.v1))
69 vertices[triangle.v1] = vertices.Count; 69 vertices[triangle.v1] = vertices.Count;
70 if (!vertices.ContainsKey(triangle.v2)) 70 if (!vertices.ContainsKey(triangle.v2))
71 vertices[triangle.v2] = vertices.Count; 71 vertices[triangle.v2] = vertices.Count;
@@ -154,7 +154,7 @@ namespace OpenSim.Region.Physics.Meshing
154 { 154 {
155 //m_log.WarnFormat("vertices.Count = {0}", vertices.Count); 155 //m_log.WarnFormat("vertices.Count = {0}", vertices.Count);
156 result = new float[vertices.Count * 3]; 156 result = new float[vertices.Count * 3];
157 foreach(KeyValuePair<Vertex, int> kvp in vertices) 157 foreach (KeyValuePair<Vertex, int> kvp in vertices)
158 { 158 {
159 Vertex v = kvp.Key; 159 Vertex v = kvp.Key;
160 int i = kvp.Value; 160 int i = kvp.Value;