Example #1
0
File: color.go Project: Nvveen/gl
//void glColor4uiv (const uint *v)
func Color4uiv(v []uint32) {
	if len(v) != 4 {
		panic(ErrorInputSize)
	}
	C.glColor4uiv((*C.GLuint)(&v[0]))
}
Example #2
0
//void glColor4uiv (const uint *v)
func Color4uiv(v *[4]uint32) {
	C.glColor4uiv((*C.GLuint)(&v[0]))
}