Hello. I have a game with code like this.
class manualSetPosition{
public:
Ogre::ManualObject * manualDebugger;
void SetPosition( Ogre::ManualObject * manual, Ogre::Vector3 mousepos ){
manual->position(mousepos);
};
};
Thats a class I use to draw a grid. I build it like this in my project.
manualSetPosition ManualSetPosition[1226];
this works fine, but what i really want is to be able to do this.
manualSetPosition ManualSetPosition[1226][1226];
I get a stack overflow. Even if that class is totally empty it does this. I really need to be able to do this for my program to work right. So my question basically is what is the limit for a class to be built as a matrix and or is there a way to extend the memory needed to do this. thanks peopless