aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-03-21 05:54:56 +0000
committerTeravus Ovares2008-03-21 05:54:56 +0000
commit0cb05c19529a110c996387bae8ba2047c3232851 (patch)
tree6c1b59a1ed51ff50629865b76146126b52c24c2f /OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
parent* Removed more encoding faults. (diff)
downloadopensim-SC_OLD-0cb05c19529a110c996387bae8ba2047c3232851.zip
opensim-SC_OLD-0cb05c19529a110c996387bae8ba2047c3232851.tar.gz
opensim-SC_OLD-0cb05c19529a110c996387bae8ba2047c3232851.tar.bz2
opensim-SC_OLD-0cb05c19529a110c996387bae8ba2047c3232851.tar.xz
* Updated ray tracing code. It's now good enough to use when the XYZ vector components of the scale have a difference of less then 4.5 meters.
* When a new prim is created and raytracing is called for, raytrace from the camera position to the ground in the direction of the Norm(RayEnd - RayStart). * If we got a hit based on our camera, create the new prim at the edge of the prim we hit. * Don't raytrace if the difference between any component of the vector exceeds 4.5meters.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.Inventory.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.Inventory.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
index 046332b..3ce7955 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
@@ -27,6 +27,7 @@
27 27
28using System; 28using System;
29using System.Collections.Generic; 29using System.Collections.Generic;
30using Axiom.Math;
30using libsecondlife; 31using libsecondlife;
31using libsecondlife.Packets; 32using libsecondlife.Packets;
32using OpenSim.Framework; 33using OpenSim.Framework;