Yann Andenmatten (andenmat++at++imtsg12.epfl.ch)
Mon, 17 Feb 1997 16:05:21 +0100
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);
if (dst == NULL)
printf("HPR...NULL\n");
else
printf(" HPR : %3.2f %3.2f %3.2f\n",
dst->hpr[0], dst->hpr[1], dst->hpr[2]);
}
else
printf("HPR...NULL2\n");
but dst is NULL. What is wrong ? Is it the best way ?
Thanks for help !
Yann
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[][][] [][] [][][] [] > Ecole Polytechnique Federale de Lausanne
[] [] [] [] [] > Swiss Federal Institute of Technology
[][] [][][] [][] [] >
[] [] [] [] > Yann Andenmatten, +41.22 693.58.50
[][][] [] [] [][][] > yandenmat++at++di.epfl.ch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
=======================================================================
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