zenaku wrote:
When the derived class is constructed, the base class's constructor is also called. Since there is no CTriangleSelector(void) constructor, the compiler doesn't know what to pass into the bass class's constructor.
Pretty much what I had figured, but that's what's confusing me. ITriangleSelector doesn't have a (void) constructor either, yet CTriangleSelector obviously compiles just fine.
This will make the compilation error go away:
[...]
That's probably not what you want, however.
Indeed, since that's just calling the constructor function I want to override in the first place.
You probably want [...]
Well, that's what I ended up doing as a stop-gap measure, which apparently will be permenant. What I was
hoping to do is write a class that inherits from CTriangleSelector and differs only in the implimentation of that particular constructor, so that I wouldn't have to re-write (that is, copy/paste

) the rest of CTriangleSelector's code in my own class.
However, CTriangleSelector is fairly "light", and I'm already re-writing the longest single function in it anyway, so copying the rest isn't too terribly inefficient.
Why is the irrlicht source directory in your include path?

Because I put it there.
