Original Post
Hi,
why will this give me a "''TPDLight:
osition'' is not an unambiguous base class of ''TProjectileBase''" error?
I''m not accessing TPDLight:
osition as a class, but rather as a member, right?
Crispy
class TPDLight
{
protected:
TVector3f Position;
...
};
class TProjectileBase : public TPDLight
{
private:
TVector3f Orientation;
float Speed;
public:
TProjectileBase(TVector3f pPosition, TVector3f pOrientation, float pSpeed)
: Orientation(pOrientation), Speed(pSpeed), TPDLight::Position(pPosition) {}; //<- here
...
};