Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Showing with 4 additions and 0 deletions.
  1. +4 −0 glu.go
View
4 glu.go
@@ -76,4 +76,8 @@ func Sphere(q unsafe.Pointer, radius float32, slices, stacks int) {
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))
+}
+
+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))
}

No commit comments for this range

Something went wrong with that request. Please try again.