Angus Dorbie (dorbie++at++bitch.reading.sgi.com)
Mon, 17 Feb 1997 21:29:44 +0000
dst will be NULL because you asign it. The getOrthoCoord
method just writes to an existing pfCoord. Even if it did as you
expected you'd need to pass a double indirection so it could
pass back the address of the coord pointer since the call can never
affect the value in dsd unless you pass it's address.
Before the get method add:
dst = new pfCoord;
but don't forget to delete it afterwards.
or simply use a pfCoord declaration and pass the pointer
to the get method.
Cheers,
Angus.
=======================================================================
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