PFENG_MATRIX_SCALE_XYZ -- how ?

New Message Reply Date view Thread view Subject view Author view

From: Debian User (ive.akkermans++at++esat.kuleuven.ac.be)
Date: 04/15/2001 17:04:42


hi,

I want to use a pfEngine to scale some object. I use a pfFCS for the
object. I can't find any examples about this aspect, as with
PFENG_MATRIX_TRANS for example, you can easily set everything like this:

  pfVec3 *trans;

  trans = (pfVec3 *)flame_bottom_flux_s->getWritableData();

  trans->vec[PF_Z] = amount;// * (1.0f-weight*s);
  trans->vec[PF_Y] = 1.0f;
  trans->vec[PF_X] = 1.0f;

  flame_bottom_flux_s->writeComplete();

but apparently i can't use the PF_Z, PF_X and PF_Y to scale my object in
the different dimensions ! I only get translations... I can't find the
equivalent names for the scaling ! Do they exist ? Or how can I scale my
object in some other way ?

thanks a lot in advance.


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sun Apr 15 2001 - 17:06:54 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.