pfDCSScaleXYZ

New Message Reply Date view Thread view Subject view Author view

Takeshi Hashimoto (hasimoto++at++bach.iml.mkhar.sharp.co.jp)
Thu, 14 Oct 1993 14:53:08 +0900


I want pfDCSScaleXYZ too.
So I wrote this code. Does it make any troubles?

void pfDCSScaleXYZ(pfDCS *dcs,float argx,float argy,float argz)
{
  int i;
  pfMatrix m;

  pfGetDCSMatrix(dcs,m);

  for (i = 0;i < 3 ;i++) pfNormalizeVec3(m[i]);
  PFSCALE_VEC3(m[0],argx,m[0]);
  PFSCALE_VEC3(m[1],argy,m[1]);
  PFSCALE_VEC3(m[2],argz,m[2]);

  pfDCSMatrix(dcs,m);
}

-------
hasimoto++at++iml.mkhar.sharp.co.jp
-------


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:03 PDT

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