Ejemplo n.º 1
0
func Cylinder(q unsafe.Pointer, base, top, height float32, slices, stacks int) {
	C.gluCylinder((*[0]byte)(q), C.GLdouble(base), C.GLdouble(top), C.GLdouble(height), C.GLint(slices), C.GLint(stacks))
}
Ejemplo n.º 2
0
func (quad *GLUquadric) Cylinder(base, top, height gl.GLdouble, slices, stacks gl.GLint) {
	C.gluCylinder((*C.GLUquadric)(quad), C.GLdouble(base), C.GLdouble(top), C.GLdouble(height), C.GLint(slices), C.GLint(stacks))
}