3D OpenGL Engine

BlitzPlus Forums/BlitzPlus Programming/3D OpenGL Engine

Ah... I pass a pointer to an integer array in which stores the physical address location of the buffer. The passed pointer is like so:
	struct BlitzPointer
	{
		int args[8]; // 32 bytes
	};


then I store the integer pointer of what I need in the args sort of like:
BlitzPointer *bptr=NULL;
XBANK *entity = NULL;
.
.
.
bptr->args[0] = (int) entity;
.
.
.


where for this memory dll, XBANK structure is
struct XBANK
{
	vector<void*> buffer;
};



I forget the exact reason why I have to pass pointers like that. That's how skidmark and Mark sibly got around teaching me to do it with c/c++. So I sticked with it.