Exemple #1
0
//void glColor4usv (const uint16 *v)
func Color4usv(v []uint16) {
	if len(v) != 4 {
		panic(ErrorInputSize)
	}
	C.glColor4usv((*C.GLushort)(&v[0]))
}
Exemple #2
0
//void glColor4usv (const uint16 *v)
func Color4usv(v *[4]uint16) {
	C.glColor4usv((*C.GLushort)(&v[0]))
}