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