* 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.
This commit is contained in:
Teravus Ovares
2008-03-21 05:54:56 +00:00
parent 803670e6ea
commit 0cb05c1952
3 changed files with 40 additions and 1 deletions

View File

@@ -27,6 +27,7 @@
using System;
using System.Collections.Generic;
using Axiom.Math;
using libsecondlife;
using libsecondlife.Packets;
using OpenSim.Framework;