示例#1
0
文件: vertex.go 项目: Nvveen/gl
//void glVertex2iv (const int *v)
func Vertex2iv(v []int32) {
	if len(v) != 2 {
		panic(ErrorInputSize)
	}
	C.glVertex2iv((*C.GLint)(&v[0]))
}
示例#2
0
文件: vertex.go 项目: jasonrpowers/gl
//void glVertex2iv (const int *v)
func Vertex2iv(v *[2]int32) {
	C.glVertex2iv((*C.GLint)(&v[0]))
}