Re: pfDCS question
John Rohlf (jrohlf++at++tubes)
Thu, 21 Oct 93 09:23:06 -0700
>> How do pfDCS calls affect each other? For example:
>>
>> pfDCS *dcs;
>>
>> pfDCSMat (dcs, some_matrix);
>> pfDCSRot (dcs, h, p, r);
>>
>> How about the reverse case?
>>
>> pfDCSRot (dcs, h, p, r);
>> pfDCSMat (dcs, some_matrix);
>
>I'm not sure if anyone answered this. The principal is
>one of replacement rather than concatentation. pfDCSMat
>"replaces" the entire 4x4 matrix. pfDCSRot replaces the
>rotational component of the matrix, preserving the
>existing scale or translation.
>
Also, the resulting DCS matrix is:
M = S * R * T
i.e. - first you scale, then rotate, then translate
This archive was generated by hypermail 2.0b2
on Mon Aug 10 1998 - 17:50:04 PDT