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