Tom Impelluso (verdi++at++piano.ucsd.edu)
Fri, 29 Aug 1997 15:11:46 -0700
In /usr/share/Performer/src/pguide/libpr/C
I found: hlcube.c
In hlcube.c ...
There is this code snip:
/*etc*/
win = pfNewWin(NULL);
pfWinOriginSize(win, 0, 0, 500, 500);
pfWinName(win, "Performer cubes");
pfWinType(win, PFWIN_TYPE_X);
pfOpenWin(win);
frust = pfNewFrust(NULL);
pfMakeSimpleFrust(frust, 45.0f);
pfFrustNearFar(frust, 1.0f, 100.0f);
pfApplyFrust(frust);
pfDelete(frust);
/*etc*/
Could somone tell me why one can delete the "frust" right
after creating it and setting its attributes?
What is gained?
Why is this allowed?
Thanks,
Tom
=======================================================================
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:55:48 PDT