aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/ODERayCastRequestManager.cs
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/OdePlugin/ODERayCastRequestManager.cs
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 'OpenSim/Region/Physics/OdePlugin/ODERayCastRequestManager.cs')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODERayCastRequestManager.cs4
1 files changed, 2 insertions, 2 deletions
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 {