02-21-2006, 10:32 AM

hi song i really really wanna thank you for the help u gave me....

i hope i won't bother you again but i wanna have an information if you know.....

i saw that in the instrutcion:

gluTessVertex(tess, v1[i], v1[i]);

v1[][] is a matrix with the vertex of my polygon

i have a struct to memorize my vertex for polygon...i mean i have a matrix: each row is a polygon. for example i define my vertex in this way matrix[0][0].x and matrix[0][0].y for the first vertex....

i saw that glutessVertex wants a double vector... is it possible put a struct or i have in any way put a vector in that instruction....

thanks!!

i hope i won't bother you again but i wanna have an information if you know.....

i saw that in the instrutcion:

gluTessVertex(tess, v1[i], v1[i]);

v1[][] is a matrix with the vertex of my polygon

i have a struct to memorize my vertex for polygon...i mean i have a matrix: each row is a polygon. for example i define my vertex in this way matrix[0][0].x and matrix[0][0].y for the first vertex....

i saw that glutessVertex wants a double vector... is it possible put a struct or i have in any way put a vector in that instruction....

thanks!!