[sldev] Questions on avatars and distances

Phoenix phoenix at secondlife.com
Tue Jan 23 09:25:15 PST 2007


That is the difference between the two.

As for why we use single and double precision vectors, I threw  
together some documentation on viewer coordinate frames:

https://wiki.secondlife.com/wiki/Viewer_coordinate_frames


On 2007 Jan 23, at 03:49, Jesse Malthus wrote:
> 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
> _______________________________________________
> Click here to unsubscribe or manage your list subscription:
> /index.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20070123/4625691c/PGP.pgp


More information about the SLDev mailing list