I am looking to start working on something akin to this
http://www.gamedev.net/reference/articles/article2074.asp
however, I need a little help.
I am very new to this algorithim stuff, and it goes to low level JME code, so my basic first question is, when transfered from this guys code to java, how do I access and work with such variables as
class cLoDTri;
{
dVector p[3]; //points
cLoDTri* e[3]; //edges
cLoDTri* pParent; //parent
cLoDTri* child[4]; //children
}
or gain access to the triangles, verticies, and edges of triangles for a mesh?
Thanks so much!