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