示例#1
0
文件: color.go 项目: Nvveen/gl
//void glColor4sv (const int16 *v)
func Color4sv(v []int16) {
	if len(v) != 4 {
		panic(ErrorInputSize)
	}
	C.glColor4sv((*C.GLshort)(&v[0]))
}
示例#2
0
//void glColor4sv (const int16 *v)
func Color4sv(v *[4]int16) {
	C.glColor4sv((*C.GLshort)(&v[0]))
}