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