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