my main is mostly a test function for now. I declare a global variable :
then call upon the static method
in which the model is given a better value through my constructor
Further in the loadASE method, I call the method :
model = new Model(objectCount);
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.