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