my main is mostly a test function for now. I declare a global variable :
then call upon the static method
Code:
ASELoader::loadASE(model,argv[1]);
in which the model is given a better value through my constructor
Code:
model = new Model(objectCount);
Further in the loadASE method, I call the method :
Code:
model->addObject(newMesh);
I know, thanks to the debugger, that newMesh is the object I expect and is correctly passed to the addObject method. But my objects vector doesn't insert it. This is the first time I use STL vectors so I'm pretty lost.