I have a vector called actorVector which stores an array of objects of type actorManager.
The actorManager class has a private attribute, which is also an object of type GLFrame. It has an accessor, getFrame(), which returns a pointer to the GLFrame object.
I have passed a pointer of actorVector to a function, so its a pointer to a vector of objects of type actorManager.
I need to pass the GLFrame object as a parameter to this function:
modelViewMatrix.MultMatrix(**GLFrame isntance**);
I've currently been trying to do it as such, but im not getting any results.
modelViewMatrix.MultMatrix(*(*actorVector)[i].getFrame());
Any ideas?