basicly what quad said is valid , i had this problem too while trying to learn these functions , you could ask sivan to copy and paste the code from my navmesh plugin source and convert it to lite-c , within my source i managed to count vertices per any block and per any terrain chunk ..


Compulsive compiler