From: John Kelso (kelso++at++vt.edu)
Date: 02/22/2000 13:47:12
Hi all,
Here's the easiest questions this group will get in some time. I'm doing
some matrix munging, and want my code to go as fast as possible. So, I'm
trying to use the pfMatrix::setMatType method, as documented in the
pfMatrix man page. Problem is, the method doesn't really seem to exist.
I'm running Performer 2.2 on Irix 6.5.
cc-1132 CC: ERROR File = foo.C, Line = 212
The class "pfMatrix" has no member "setMatType".
m.setMatType(PFMAT_TRANS|PFMAT_ROT) ;
^
1 error detected in the compilation of "Bundle.C".
gmake: *** [Bundle.o] Error 2
The other question relates to pfMatrix::getOrthoCoord. The man page and
include file declare it as:
pfMatrix::getOrthoCoord(pfCoord* dst);
But the man page's description says:
pfMatrix::getOrthoCoord returns in the pfMatrix the translation
and rotation of the orthonormal matrix, m. The returned pitch
ranges from -90 to +90 degrees. Roll and heading range from -180
to +180.
which seems to imply it wants a matrix as an argument. If I want
a routine which takes a pfCoord as an argument, I'd use
pfMatrix::makeCoord
Any suggestions?
Thanks,
-John
-----------------------------------------------------------------------
John Kelso www.cave.vt.edu
Research Associate, Virginia Tech CAVE email: kelso++at++vt.edu
2000 Kraft Drive, Suite 2400, MS 0468 phone: 540/231-2054
Blacksburg, VA 24061 fax: 540/557-6043
This archive was generated by hypermail 2b29 : Tue Feb 22 2000 - 13:49:19 PST