Timothy Moore (moore++at++WOLFENET.com)
Mon, 17 Feb 1997 13:43:59 -0800 (PST)
Hi,
I'm trying to get the hpr values from a pfDCS. I've tried that :
const pfMatrix* m = Coord->getMatPtr();
if (m != NULL)
{
pfCoord* dst=NULL;
m->getOrthoCoord(dst);
pfMatrix::getOrthoCoord takes a pointer to a pfCoord and fills in the
values from the matrix. It doesn't allocate a pfCoord for this or
return a static pfCoord. Do this instead:
pfCoord dst;
m->getOrthoCoord(&dst);
Tim
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:40 PDT