Ejemplo n.º 1
0
Archivo: gl.go Proyecto: james4k/gl
//void glRasterPos4iv (const int *v)
func RasterPos4iv(v *[4]int32) {
	C.glRasterPos4iv((*C.GLint)(&v[0]))
}
Ejemplo n.º 2
0
Archivo: gl.go Proyecto: Nvveen/gl
//void glRasterPos4iv (const int *v)
func RasterPos4iv(v []int32) {
	if len(v) != 4 {
		panic(ErrorInputSize)
	}
	C.glRasterPos4iv((*C.GLint)(&v[0]))
}