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