Scroll to navigation

GLUTESSENDPOLYGON(3G) GLUTESSENDPOLYGON(3G)

̾??

gluTessEndPolygon - ?ݥꥴ???ε??Ҥ????ڤ?

????

void gluTessEndPolygon( GLUtesselator* tess )


??????

?ƥ??졼?????󥪥֥???????(gluNewTess ???Ȥäƺ???)?????ꤹ?롣

????

gluTessBeginPolygon ?? gluTessEndPolygon ?ϡ??̤ʥݥꥴ???? ???̤Ǥ????ݥꥴ?󡢼??ʴ??Ĥ??Ƥ????ݥꥴ?????????????ڤ롣 gluTessBeginPolygon/gluTessEndPolygon ???Ф˶??ޤ줿 ???줾??????ʬ?Ǥϡ?gluTessBeginContour/gluTessEndContour ?? 1 ???ʾ??ƤӽФ??ʤ????Фʤ??ʤ??? ???줾???η?ϩ?ˤ????Ƥϡ?gluTessVertex ?? 0 ???ʾ??ƤӽФ??? ????ĺ???????Ĥ?????ϩ?????ꤹ??(???줾???η?ϩ?κǸ???ĺ???ϡ???ưŪ ?˺ǽ???ĺ???ȷ??Ф???)???ܤ????? gluTessVertex, gluTessBeginContour, gluTessEndContour ?ι??ܤ򻲾? ???뤳?ȡ?

gluTessEndPolygon ???ƤФ????ȥݥꥴ???Υƥ??졼???????????? ?Ԥ??졢???η??̤Ȥ??????????뻰?ѷ????ϥ??????Хå????̤??Ƶ??Ҥ????롣 ???????Хå??ؿ????????ˤĤ??Ƥ? gluTessCallback ?򻲾? ???뤳?ȡ?

??????

???ѷ??η꤬???????ͳѷ??ϡ??ʲ??Τ褦?˵??ҤǤ???:

gluTessBeginPolygon(tobj, NULL);
gluTessBeginContour(tobj);
gluTessVertex(tobj, v1, v1);
gluTessVertex(tobj, v2, v2);
gluTessVertex(tobj, v3, v3);
gluTessVertex(tobj, v4, v4);
gluTessEndContour(tobj);
gluTessBeginContour(tobj);
gluTessVertex(tobj, v5, v5);
gluTessVertex(tobj, v6, v6);
gluTessVertex(tobj, v7, v7);
gluTessEndContour(tobj); gluTessEndPolygon(tobj); v1 through v7 , ?嵭?????Ǥϡ??ݥ????? v1 ?? v7 ?ϰۤʤ륢?ɥ쥹???ؤ??Ƥ??ʤ????? ?ʤ??ʤ????ʤ??ʤ顢gluTessEndPolygon ???ƤФ????ޤǤϡ? ?ƥ??졼???????????????????Υ??ɥ쥹?˳?Ǽ?????Ƥ????ͤ򻲾Ȥ??ʤ????? ?Ǥ??롣

??Ϣ????

gluNewTess, gluTessBeginContour, gluTessVertex, gluTessCallback, gluTessProperty, gluTessNormal, gluTessBeginPolygon