Esempio n. 1
0
func Sphere(q unsafe.Pointer, radius float32, slices, stacks int) {
	C.gluSphere((*[0]byte)(q), C.GLdouble(radius), C.GLint(slices), C.GLint(stacks))
}
Esempio n. 2
0
func (quad *GLUquadric) Sphere(radius gl.GLdouble, slices, stacks gl.GLint) {
	C.gluSphere((*C.GLUquadric)(quad), C.GLdouble(radius), C.GLint(slices), C.GLint(stacks))
}