//void glGetMaterialfv (GLenum face, GLenum pname, float *params) func GetMaterialfv(face GLenum, pname GLenum, params []float32) { if len(params) == 0 { panic("Invalid params length") } C.glGetMaterialfv(C.GLenum(face), C.GLenum(pname), (*C.GLfloat)(¶ms[0])) }
//void glGetMaterialfv (GLenum face, GLenum pname, float *params) func GetMaterialfv(face GLenum, pname GLenum, params []float32) { if len(params) == 0 { panic(ErrorInputSize) } C.glGetMaterialfv(C.GLenum(face), C.GLenum(pname), (*C.GLfloat)(¶ms[0])) }