[Bf-committers] Expansion of pinBone functionality - looking for more advice

Martin Poirier theeth at yahoo.com
Tue Aug 31 04:34:13 CEST 2004


--- Roland Hess <me at harkyman.com> wrote:

> I already know about where_is_bone_time, and
> make_boneMatrixvr, 
> but I'm operating under some unusual constraints,
> and they will not 
> work. The constraint, of course, is that this
> information will be used 
> in quat/loc/size format. Unless someone can point me
> to a function that 
> already does this, I'm writing my own.

Can't you just convert the 4x4 matrix to the
quat/loc/size data?

I'm pretty sure arithb.c has some functions to do
that.

*quick check*

void Mat4ToQuat( float m[][4], float *q)
void Mat4ToSize( float mat[][4], float *size)

and loc is mat[3] converted to a 3-float vector


Is that good or did I miss something in the
limitations?

Martin





__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Bf-committers mailing list