Exemple #1
0
func Disk(q unsafe.Pointer, inner, outer float32, slices, loops int) {
	C.gluDisk((*[0]byte)(q), C.GLdouble(inner), C.GLdouble(outer), C.GLint(slices), C.GLint(loops))
}
Exemple #2
0
func (quad *GLUquadric) Disk(inner, outer gl.GLdouble, slices, loops gl.GLint) {
	C.gluDisk((*C.GLUquadric)(quad), C.GLdouble(inner), C.GLdouble(outer), C.GLint(slices), C.GLint(loops))
}