Union with pfVec3 in C++ API

New Message Reply Date view Thread view Subject view Author view

dheskamp++at++ldsa.com
Thu, 15 Feb 96 15:22:52 EST


Hello:

I want to create a union with a pfVec3 object in it. A much simplified
example is:

        union myUnion
        {
           pfVec3 point;
           int xyz;
        };

This returns the following compiler error.....

invalid union member -- class "pfVec3" has a disallowed member function

I looked at the Performer include file and saw no virtual functions in this
class. What is causing the problem? This problem is making it difficult
for me to port from the C API to the C++ API. Any suggestions would be
greatly appreciated.

Dave


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:52:24 PDT

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