Beispiel #1
0
//void glColor3sv (const int16 *v)
func Color3sv(v []int16) {
	if len(v) != 3 {
		panic(ErrorInputSize)
	}
	C.glColor3sv((*C.GLshort)(&v[0]))
}
Beispiel #2
0
//void glColor3sv (const int16 *v)
func Color3sv(v *[3]int16) {
	C.glColor3sv((*C.GLshort)(&v[0]))
}