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