typedef struct node
{
int *polys;
int numpolys;
int ID;
int ParentID;
Hardbox hbox;
int BranchID[4];
DWORD Type;
}NODE;
This is my node structure used by the Quad-Tree.
Now when I add a pointer to the structure the application crashes, no matter whether i use this pointer or not. Just by adding it:
typedef struct node
{
int *polys;
int *objs; //causes Crash
int numpolys;
int ID;
int ParentID;
Hardbox hbox;
int BranchID[4];
DWORD Type;
}NODE;
Any ideas?