* committing what I've got so far for DuplicateOnRay so I don't fight the conflict monster later. Not done yet, doesn't crash the server.

This commit is contained in:
Teravus Ovares
2008-05-01 15:17:49 +00:00
parent 4692e92312
commit 56b4f5a2ea
5 changed files with 114 additions and 17 deletions

View File

@@ -543,7 +543,7 @@ namespace OpenSim.Region.Environment.Scenes
return finalScale;
}
public EntityIntersection TestIntersection(Ray hRay, bool frontFacesOnly)
public EntityIntersection TestIntersection(Ray hRay, bool frontFacesOnly, bool faceCenters)
{
// We got a request from the inner_scene to raytrace along the Ray hRay
// We're going to check all of the prim in this group for intersection with the ray
@@ -565,7 +565,7 @@ namespace OpenSim.Region.Environment.Scenes
// Telling the prim to raytrace.
//EntityIntersection inter = part.TestIntersection(hRay, parentrotation);
EntityIntersection inter = part.TestIntersectionOBB(hRay, parentrotation,frontFacesOnly);
EntityIntersection inter = part.TestIntersectionOBB(hRay, parentrotation,frontFacesOnly, faceCenters);
// This may need to be updated to the maximum draw distance possible..
// We might (and probably will) be checking for prim creation from other sims