P
pereges
Hello, I am trying to write a library for buildding a kdtree for the
3d mesh. I have uploaded my code on:
http://www.uploading.com/files/LW2EJYPK/code.zip.html
Out of the four modules in the program, kdtree.c is the only one which
is failing at line number 162 , subdivide_kdtree function( I found
this by using some printf statements and checking values). This is the
statement that's failing:
kd->child->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:
http://www.uploading.com/files/LW2EJYPK/code.zip.html
Out of the four modules in the program, kdtree.c is the only one which
is failing at line number 162 , subdivide_kdtree function( I found
this by using some printf statements and checking values). This is the
statement that's failing:
kd->child->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 ?