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