Re: pfCullResult & C++

New Message Reply Date view Thread view Subject view Author view

Nicolas Gauvin (nicolas++at++cae.ca)
Wed, 10 Sep 1997 17:08:25 -0400


On Sep 10, 7:34pm, Joaquin Casillas Melendez wrote:
> Subject: pfCullResult & C++
>
> Hello performers.
>
> I want a node to always pass the culling test, which I've achieved with
> the funcion pfCullResult(PFIS_ALL_IN) in a precull callback. This works
> fine when compiled in C. However, I'm now compiling in C++ and got this
> error:
>
> error(3114): identifier "pfCullResult" is undefined
> pfCullResult(PFIS_ALL_IN);
>
> I have included the header file <Performer/pf/pfNode.h>, and the function
> appears in the C++ section of the man page.
>
> Any idea about what's going wrong?
>

The man page is wrong. It should have been:

#include <Performer/pf/pfTraverser.h>

This typo has been corrected for the next release of Performer.

-- 
Nicolas Gauvin              CAE Electronics Ltd., 8585 Cote De Liesse
3D Graphics Software        Saint-Laurent, Quebec, Canada, H4L-4X4
nicolas++at++cae.ca              Tel: (514) 341-2000 x2275, Fax: (514) 340-5496 
=======================================================================
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:55:54 PDT

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