[sldev] Questions on avatars and distances

Jesse Malthus JesseMalthus at gmail.com
Tue Jan 23 03:49:23 PST 2007


If one is to believe the libsecondlife documentation, (but hwy would
you, they're all dirty W-Hat greifers :) a LLVector3 is a vector with
float precision and an LLVector3d is a vector with double precision.

On 1/22/07, Dale Glass <dale at daleglass.net> wrote:
> Ok, since the llOwnerSay idea bumped into a limitation, I'm back to trying to
> add an avatar scanner into the client. I'm making some progress:
>
> http://daleglass.net/images/screenshots/scanner.jpg
>
> It's going pretty well, but rather slowly due to other things to do. I'll be
> releasing a patch as soon as I have something prettier and usable.
>
> Now some questions:
>
> What's the difference between LLVector3 and LLVector3d?
>
> And related to that, why does gAgent.getPositionGlobal() return LLVector3d,
> while LLVOAvatar::getCharacterPosition returns a LLVector3 and must be
> converted to LLVector3d to find the distance between me and somebody else?
>
>
>
> _______________________________________________
> Click here to unsubscribe or manage your list subscription:
> /index.html
>
>
>
>


-- 
--Jesse


More information about the SLDev mailing list