[sldev] Client FPS & LLQuaternions
Kent Quirk (Q Linden)
q at lindenlab.com
Sun Feb 17 21:18:05 PST 2008
A quaternion can be used as a way of expressing a 3D rotation. Second
Life uses unit quaternions, which would normally be expressed as four
real numbers.
As far as I can tell, the Message_Layout page is correct -- it should
be 16 bytes, or four F32 values.
What makes you say it's only 12? The AgentUpdate message is zerocoded
-- are you perhaps getting misled because zero values are compressed?
Q
On Feb 17, 2008, at 8:19 PM, Thomas Grimshaw wrote:
> Secondly, LLQuaternions
>
> Could somebody please update this wiki page:
>
> http://wiki.secondlife.com/wiki/Message_Layout
>
> to describe the correct LLQuaternion specification. That page
> describes it as 16 bytes, however it seems both the official client
> and LibSL sends 12 bytes in the AgentUpdate packet. What gives?
More information about the SLDev
mailing list