My problem was that I was trying to make a vector of type IAnimatedMesh to contain all the level "pieces" (floors, walls, etc) in the drawn instance (object of struct instances), and have that vector be resized in the constructor of the instance struct:
Code: Select all
struct instances{
vector <irr::scene:IAnimatedMesh> structures;
instances(int floors, int rows, int columns){
structures.resize(floors*rows*columns);
}
};
or something like that. However, the line
Code: Select all
vector <irr::scene:IAnimatedMesh> structures;
Code: Select all
error: template argument 1 is invalid
Code: Select all
error: template argument 2 is invalid