Collision advoidance

Jack Abraham jack.abraham at me.com
Fri Jul 2 16:21:34 PDT 2010


I'm pretty sure CornerMax should be llList2Vector(llGetBoundingBox(llGetKey()), 1), not 2.

On Jul 2, 2010, at 7:17 PM, Pentasis wrote:

> float GetVolume() {
>     vector CornerMin = llList2Vector(llGetBoundingBox(llGetKey()), 0);
>     vector CornerMax = llList2Vector(llGetBoundingBox(llGetKey()), 2);
>     return (CornerMax.x - CornerMin.x) * (CornerMax.y - CornerMin.y) * 
> (CornerMax.z - CornerMin.z);
> }

Jack of Spades  A: Because it messes up the order in which people normally read text.
jack_of_spades  Q: Why is top-posting such a bad thing?
@geographic.net A: Top-posting.
                Q: What is the most annoying thing in e-mail?







More information about the secondlifescripters mailing list