aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Physics')
-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 {