Add very basic test for resizing a scene object with one prim

This commit is contained in:
Justin Clark-Casey (justincc)
2011-07-16 02:44:00 +01:00
parent 6179879308
commit 50bd48542c
2 changed files with 69 additions and 1 deletions

View File

@@ -617,9 +617,10 @@ namespace OpenSim.Region.Framework.Scenes
finalScale.X = (minScale.X > maxScale.X) ? minScale.X : maxScale.X;
finalScale.Y = (minScale.Y > maxScale.Y) ? minScale.Y : maxScale.Y;
finalScale.Z = (minScale.Z > maxScale.Z) ? minScale.Z : maxScale.Z;
return finalScale;
return finalScale;
}
public EntityIntersection TestIntersection(Ray hRay, bool frontFacesOnly, bool faceCenters)
{
// We got a request from the inner_scene to raytrace along the Ray hRay