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