Exemple #1
0
//void glColor4ubv (const uint8 *v)
func Color4ubv(v []uint8) {
	if len(v) != 4 {
		panic(ErrorInputSize)
	}
	C.glColor4ubv((*C.GLubyte)(&v[0]))
}
Exemple #2
0
//void glColor4ubv (const uint8 *v)
func Color4ubv(v *[4]uint8) {
	C.glColor4ubv((*C.GLubyte)(&v[0]))
}