Hello, I am trying to write a library for buildding a kdtree for the
3d mesh. I have uploaded my code on:
Out of the four modules in the program, kdtree.c is the only one which
is failing at line number 162 , subdivide_kdtre e function( I found
this by using some printf statements and checking values). This is the
statement that's failing:
kd->child[i]->ntriangles += 1;
Why is this happening ?? My machine is running low on memory at the
moment, could it because of that ? Can some one else please verify if
this is the problem ?
3d mesh. I have uploaded my code on:
Out of the four modules in the program, kdtree.c is the only one which
is failing at line number 162 , subdivide_kdtre e function( I found
this by using some printf statements and checking values). This is the
statement that's failing:
kd->child[i]->ntriangles += 1;
Why is this happening ?? My machine is running low on memory at the
moment, could it because of that ? Can some one else please verify if
this is the problem ?
Comment