Exemple #1
0
//void glVertex2iv (const int *v)
func Vertex2iv(v []int32) {
	if len(v) != 2 {
		panic(ErrorInputSize)
	}
	C.glVertex2iv((*C.GLint)(&v[0]))
}
Exemple #2
0
//void glVertex2iv (const int *v)
func Vertex2iv(v *[2]int32) {
	C.glVertex2iv((*C.GLint)(&v[0]))
}