Re: getting hpr form pfDCS

New Message Reply Date view Thread view Subject view Author view

Swaminathan N. (swami++at++evl.uic.edu)
Mon, 17 Feb 1997 19:50:46 -0600 (CST)


On Mon, 17 Feb 1997, Yann Andenmatten wrote:

> const pfMatrix* m = Coord->getMatPtr();
> if (m != NULL)
> {
> pfCoord* dst=NULL;

        pfCoord* dst = new pfMatrix; // should work...

> 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 ?
>

bye
Swami

 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
v Swaminathan Narayanan ^
v swami++at++evl.uic.edu ^
v Office: 996-3002 ^
v Home: 850-2726 ^
v http://www.evl.uic.edu/swami ^
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


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:54:40 PDT

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