It's pretty hard to render the data I generate, if I want to use one vertex array format only.
I tried to provide GLU_TESS_EDGE_FLAG_DATA callback, but it made my program crash. (also tried without "_DATA" in end, same effect).
How can I get it to generate GL_TRIANGLES only?
gluTessCallback()
,GLU_TESS_EDGE_FLAG
:This is what I've been using:
I tend to use
Eigen::Vector2f
forVec
.