Example #1
0
File: color.go Project: Nvveen/gl
//void glColor4usv (const uint16 *v)
func Color4usv(v []uint16) {
	if len(v) != 4 {
		panic(ErrorInputSize)
	}
	C.glColor4usv((*C.GLushort)(&v[0]))
}
Example #2
0
//void glColor4usv (const uint16 *v)
func Color4usv(v *[4]uint16) {
	C.glColor4usv((*C.GLushort)(&v[0]))
}