Takeshi Hashimoto (hasimoto++at++bach.iml.mkhar.sharp.co.jp)
Tue, 16 Nov 1993 11:10:13 +0900
I made pfDCSRot2. It seems to work correctly.
But GL command is called directly in this function,
it may make trouble.
Please tell me the best way.
void pfDCSRot2(pfDCS *dcs,float argx,float argy,float argz)
{
pfMatrix m;
pfMakeIdentMat(m);
pushmatrix();
loadmatrix(m);
pfGetDCSMatrix(dcs,m);
translate(m[3][0],m[3][1],m[3][2]);
rot(argz,'z');
rot(argy,'y');
rot(argx,'x');
scale(pfLengthVec3(m[0]),pfLengthVec3(m[1]),pfLengthVec3(m[2]));
getmatrix(m);
popmatrix();
pfDCSMatrix(dcs,m);
}
--- //\\ (O O) \o/ hasimoto++at++iml.mkhar.sharp.co.jp WOW
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:06 PDT