Scroll to navigation

GLUDISK(3G) GLUDISK(3G)

̾??

gluDisk - ???פ????褹??

????

void gluDisk( GLUquadric* quad,

	GLdouble inner,
	GLdouble outer,
	GLint slices,
	GLint loops )

??????

?󼡶??̥??֥??????Ȥ????ꤹ??(gluNewQuadric ???Ȥä?????????)??
???פ????¤????ꤹ??(0 ?Ǥ??褤)??
???פγ??¤????ꤹ?롣
z ???????α߼???ʬ?????????ꤹ?롣
???פ?ʬ?䤹??Ʊ???ߤο??????ꤹ?롣 ?濴?ϸ????Ȥ??롣

????

gluDisk ?? z = 0 ʿ?̾??˱??פ????褹?롣 ???α??פ?Ⱦ?¤? outer ?Ǥ??ꡢȾ?? inner ??Ʊ???ߤη꤬ ?????Ƥ??롣 inner ?? 0 ?ʤ??С????Ϻ??????ʤ??? ???פ?ʬ???ϡ?z ????????????(?ԥ??Υ??饤???Τ褦?ʷ?)?????? ?????? z ????????Ʊ???ߤ??Ǥ????????ǹԤ?????(ξ?Ԥ?ʬ?????ϡ? ?????θĿ??? slices, Ʊ???ߤθĿ??? loops ?ǻ??ꤹ??)??

?????ˤĤ??Ƥϡ????פ? +z ¦???ֳ?¦?פȤ????? (gluQuadricOrientation ?򻲾?)?? ???ʤ??????????Ȥ??? GLU_OUTSIDE ?????ꤹ???????Ƥ?ˡ???? +z ?????????ؤ????????Ǥʤ???????ˡ???? -z ?????????ؤ???

r=outer , the value at (r, 0, 0) is (gluQuadricTexture ???Ȥä?)?ƥ??????㤬ͭ???ˤ????Ƥ??????硢 ?ƥ?????????ɸ?ϡ? r=outer ?ˤĤ??Ƥ??ͤ? (r, 0, 0) ?? (1, 0.5), (0, r, 0) ?? (0.5, 1), (-r, 0, 0) ?? (0, 0.5), (0, -r, 0) ?? (0.5, 0) ?Ȥ??ơ????????????????֤????????????롣

??Ϣ????

gluCylinder, gluNewQuadric, gluPartialDisk, gluQuadricOrientation, gluQuadricTexture, gluSphere