Example #1
0
File: color.go Project: Nvveen/gl
//void glColor3bv (const int8 *v)
func Color3bv(v []int8) {
	if len(v) != 3 {
		panic(ErrorInputSize)
	}
	C.glColor3bv((*C.GLbyte)(&v[0]))
}
Example #2
0
//void glColor3bv (const int8 *v)
func Color3bv(v *[3]int8) {
	C.glColor3bv((*C.GLbyte)(&v[0]))
}