Exemple #1
0
//void glVertex4sv (const int16 *v)
func Vertex4sv(v []int16) {
	if len(v) != 4 {
		panic(ErrorInputSize)
	}
	C.glVertex4sv((*C.GLshort)(&v[0]))
}
Exemple #2
0
//void glVertex4sv (const int16 *v)
func Vertex4sv(v *[4]int16) {
	C.glVertex4sv((*C.GLshort)(&v[0]))
}