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