If you add a construtor that takes params, and you wish to use a default constructor, then you must explicitly include one.....the compiler will not do it for you in these circumstances.
Code:
struct EFX_VECTOR3{
EFX_VECTOR3(float x,float y,float z){fx=x;fy=y;fz=z;}
EFX_VECTOR3(){fx=fy=fz=0;}
float fx,fy,fz;
};
>>I do not need a constructor for this
Ah...but you do!
Code:
struct EFX_CameraSystem
{
EFX_VECTOR3 position;
EFX_VECTOR3 lookat;
};
Each of these members are relying on a default constructor