Example #1
0
File: vertex.go Project: Nvveen/gl
//void glVertex2iv (const int *v)
func Vertex2iv(v []int32) {
	if len(v) != 2 {
		panic(ErrorInputSize)
	}
	C.glVertex2iv((*C.GLint)(&v[0]))
}
Example #2
0
//void glVertex2iv (const int *v)
func Vertex2iv(v *[2]int32) {
	C.glVertex2iv((*C.GLint)(&v[0]))
}