Exemple #1
0
func PartialDisk(q unsafe.Pointer, inner, outer float32, slices, loops int, startAngle, sweepAngle float32) {
	C.gluPartialDisk((*[0]byte)(q), C.GLdouble(inner), C.GLdouble(outer), C.GLint(slices), C.GLint(loops), C.GLdouble(startAngle), C.GLdouble(sweepAngle))
}
Exemple #2
0
func (quad *GLUquadric) PartialDisk(inner, outer gl.GLdouble, slices, loops gl.GLint, start, sweep gl.GLdouble) {
	C.gluPartialDisk((*C.GLUquadric)(quad), C.GLdouble(inner), C.GLdouble(outer), C.GLint(slices), C.GLint(loops), C.GLdouble(start), C.GLdouble(sweep))
}