aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics
diff options
context:
space:
mode:
authorJeff Ames2009-07-23 15:32:11 +0000
committerJeff Ames2009-07-23 15:32:11 +0000
commita133e83f3ab38ad7abf0b3c591421d3eac418c0c (patch)
tree0c0de3d37510a54d8668402d310fc0cf7e8c255d /OpenSim/Region/Physics
parentMinor: rename libsl to libomv in Contributors.txt. (diff)
downloadopensim-SC_OLD-a133e83f3ab38ad7abf0b3c591421d3eac418c0c.zip
opensim-SC_OLD-a133e83f3ab38ad7abf0b3c591421d3eac418c0c.tar.gz
opensim-SC_OLD-a133e83f3ab38ad7abf0b3c591421d3eac418c0c.tar.bz2
opensim-SC_OLD-a133e83f3ab38ad7abf0b3c591421d3eac418c0c.tar.xz
Formatting cleanup.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Physics/Manager/PhysicsScene.cs2
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODERayCastRequestManager.cs4
2 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsScene.cs b/OpenSim/Region/Physics/Manager/PhysicsScene.cs
index 95699fb..6937a25 100644
--- a/OpenSim/Region/Physics/Manager/PhysicsScene.cs
+++ b/OpenSim/Region/Physics/Manager/PhysicsScene.cs
@@ -181,7 +181,7 @@ namespace OpenSim.Region.Physics.Manager
181 /// <param name="direction">Direction of the ray</param> 181 /// <param name="direction">Direction of the ray</param>
182 /// <param name="length">Length of ray in meters</param> 182 /// <param name="length">Length of ray in meters</param>
183 /// <param name="retMethod">Method to call when the raycast is complete</param> 183 /// <param name="retMethod">Method to call when the raycast is complete</param>
184 public virtual void RaycastWorld( Vector3 position, Vector3 direction, float length, RaycastCallback retMethod) 184 public virtual void RaycastWorld(Vector3 position, Vector3 direction, float length, RaycastCallback retMethod)
185 { 185 {
186 if (retMethod != null) 186 if (retMethod != null)
187 retMethod(false, Vector3.Zero, 0, 999999999999f); 187 retMethod(false, Vector3.Zero, 0, 999999999999f);
diff --git a/OpenSim/Region/Physics/OdePlugin/ODERayCastRequestManager.cs b/OpenSim/Region/Physics/OdePlugin/ODERayCastRequestManager.cs
index 8ea8668..c4cb250 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODERayCastRequestManager.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODERayCastRequestManager.cs
@@ -67,7 +67,7 @@ namespace OpenSim.Region.Physics.OdePlugin
67 private List<ContactResult> m_contactResults = new List<ContactResult>(); 67 private List<ContactResult> m_contactResults = new List<ContactResult>();
68 68
69 69
70 public ODERayCastRequestManager( OdeScene pScene) 70 public ODERayCastRequestManager(OdeScene pScene)
71 { 71 {
72 m_scene = pScene; 72 m_scene = pScene;
73 nearCallback = near; 73 nearCallback = near;
@@ -149,7 +149,7 @@ namespace OpenSim.Region.Physics.OdePlugin
149 // Find closest contact and object. 149 // Find closest contact and object.
150 lock (m_contactResults) 150 lock (m_contactResults)
151 { 151 {
152 foreach(ContactResult cResult in m_contactResults) 152 foreach (ContactResult cResult in m_contactResults)
153 { 153 {
154 if (Vector3.Distance(req.Origin, cResult.Pos) < Vector3.Distance(req.Origin, closestcontact)) 154 if (Vector3.Distance(req.Origin, cResult.Pos) < Vector3.Distance(req.Origin, closestcontact))
155 { 155 {