Beispiel #1
0
//void glColor3ubv (const uint8 *v)
func Color3ubv(v []uint8) {
	if len(v) != 3 {
		panic(ErrorInputSize)
	}
	C.glColor3ubv((*C.GLubyte)(&v[0]))
}
Beispiel #2
0
//void glColor3ubv (const uint8 *v)
func Color3ubv(v *[3]uint8) {
	C.glColor3ubv((*C.GLubyte)(&v[0]))
}