//void glMaterialiv (GLenum face, GLenum pname, const int *params) func Materialiv(face GLenum, pname GLenum, params []int32) { if len(params) == 0 { panic("Invalid params length") } C.glMaterialiv(C.GLenum(face), C.GLenum(pname), (*C.GLint)(¶ms[0])) }
//void glMaterialiv (GLenum face, GLenum pname, const int *params) func Materialiv(face GLenum, pname GLenum, params []int32) { if len(params) == 0 { panic(ErrorInputSize) } C.glMaterialiv(C.GLenum(face), C.GLenum(pname), (*C.GLint)(¶ms[0])) }