diff options
author | Adam Frisby | 2008-01-15 02:09:55 +0000 |
---|---|---|
committer | Adam Frisby | 2008-01-15 02:09:55 +0000 |
commit | b25f9f322cdbcde7fd8c043137bf07992e5ef318 (patch) | |
tree | 7c1a5115b2849dfe388b825dd271271d347f9574 /OpenSim/Region/Physics | |
parent | Set svn:eol-style. (diff) | |
download | opensim-SC-b25f9f322cdbcde7fd8c043137bf07992e5ef318.zip opensim-SC-b25f9f322cdbcde7fd8c043137bf07992e5ef318.tar.gz opensim-SC-b25f9f322cdbcde7fd8c043137bf07992e5ef318.tar.bz2 opensim-SC-b25f9f322cdbcde7fd8c043137bf07992e5ef318.tar.xz |
* Mother of all commits:
* Cleaned up copyright notices in AssemblyInfo.cs's
* Added Copyright headers to a bunch of files missing them
* Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
Diffstat (limited to 'OpenSim/Region/Physics')
-rw-r--r-- | OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Physics/Meshing/SimpleHull.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs b/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs index a88299e..082021f 100644 --- a/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs +++ b/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs | |||
@@ -976,7 +976,7 @@ namespace OpenSim.Region.Physics.BulletXPlugin | |||
976 | public class BulletXCharacter : BulletXActor | 976 | public class BulletXCharacter : BulletXActor |
977 | { | 977 | { |
978 | public BulletXCharacter(BulletXScene parent_scene, PhysicsVector pos) | 978 | public BulletXCharacter(BulletXScene parent_scene, PhysicsVector pos) |
979 | : this("", parent_scene, pos) | 979 | : this(String.Empty, parent_scene, pos) |
980 | { | 980 | { |
981 | } | 981 | } |
982 | 982 | ||
diff --git a/OpenSim/Region/Physics/Meshing/SimpleHull.cs b/OpenSim/Region/Physics/Meshing/SimpleHull.cs index 809f3d5..4532bda 100644 --- a/OpenSim/Region/Physics/Meshing/SimpleHull.cs +++ b/OpenSim/Region/Physics/Meshing/SimpleHull.cs | |||
@@ -53,7 +53,7 @@ namespace OpenSim.Region.Physics.Meshing | |||
53 | 53 | ||
54 | public override String ToString() | 54 | public override String ToString() |
55 | { | 55 | { |
56 | String result = ""; | 56 | String result = String.Empty; |
57 | foreach (Vertex v in vertices) | 57 | foreach (Vertex v in vertices) |
58 | { | 58 | { |
59 | result += "b:" + v.ToString() + "\n"; | 59 | result += "b:" + v.ToString() + "\n"; |
diff --git a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs index b824cbe..bfdb90f 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | |||
@@ -83,7 +83,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
83 | private bool m_alwaysRun = false; | 83 | private bool m_alwaysRun = false; |
84 | private bool m_hackSentFall = false; | 84 | private bool m_hackSentFall = false; |
85 | private bool m_hackSentFly = false; | 85 | private bool m_hackSentFly = false; |
86 | private string m_name = ""; | 86 | private string m_name = String.Empty; |
87 | 87 | ||
88 | private bool[] m_colliderarr = new bool[11]; | 88 | private bool[] m_colliderarr = new bool[11]; |
89 | private bool[] m_colliderGroundarr = new bool[11]; | 89 | private bool[] m_colliderGroundarr = new bool[11]; |