Ejemplo n.º 1
0
Archivo: vertex.go Proyecto: Nvveen/gl
//void glVertex4sv (const int16 *v)
func Vertex4sv(v []int16) {
	if len(v) != 4 {
		panic(ErrorInputSize)
	}
	C.glVertex4sv((*C.GLshort)(&v[0]))
}
Ejemplo n.º 2
0
//void glVertex4sv (const int16 *v)
func Vertex4sv(v *[4]int16) {
	C.glVertex4sv((*C.GLshort)(&v[0]))
}