aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/EntityBase.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-03-25 16:09:43 +0000
committerTeravus Ovares2008-03-25 16:09:43 +0000
commit3d1b4f8578e4dc3df0436c1c13f1b2983d3b55e7 (patch)
tree0e6e421b696c94a8331c99782259ebce5a7b92d7 /OpenSim/Region/Environment/Scenes/EntityBase.cs
parent* Refactored out circular reference in Region.Environment <-> Framework.Data.... (diff)
downloadopensim-SC_OLD-3d1b4f8578e4dc3df0436c1c13f1b2983d3b55e7.zip
opensim-SC_OLD-3d1b4f8578e4dc3df0436c1c13f1b2983d3b55e7.tar.gz
opensim-SC_OLD-3d1b4f8578e4dc3df0436c1c13f1b2983d3b55e7.tar.bz2
opensim-SC_OLD-3d1b4f8578e4dc3df0436c1c13f1b2983d3b55e7.tar.xz
* On Ray casting. Now returning the face normal of the collision face.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/EntityBase.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/EntityBase.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/EntityBase.cs b/OpenSim/Region/Environment/Scenes/EntityBase.cs
index 713b205..c6a5b29 100644
--- a/OpenSim/Region/Environment/Scenes/EntityBase.cs
+++ b/OpenSim/Region/Environment/Scenes/EntityBase.cs
@@ -228,7 +228,7 @@ namespace OpenSim.Region.Environment.Scenes
228 public class EntityIntersection 228 public class EntityIntersection
229 { 229 {
230 public Vector3 ipoint = new Vector3(0, 0, 0); 230 public Vector3 ipoint = new Vector3(0, 0, 0);
231 public float normal = 0; 231 public Vector3 normal = new Vector3(0, 0, 0);
232 public bool HitTF = false; 232 public bool HitTF = false;
233 public SceneObjectPart obj; 233 public SceneObjectPart obj;
234 public float distance = 0; 234 public float distance = 0;
@@ -237,7 +237,7 @@ namespace OpenSim.Region.Environment.Scenes
237 { 237 {
238 } 238 }
239 239
240 public EntityIntersection(Vector3 _ipoint, float _normal, bool _HitTF) 240 public EntityIntersection(Vector3 _ipoint, Vector3 _normal, bool _HitTF)
241 { 241 {
242 ipoint = _ipoint; 242 ipoint = _ipoint;
243 normal = _normal; 243 normal = _normal;