//void glTexEnvfv (GLenum target, GLenum pname, const float *params) func TexEnvfv(target GLenum, pname GLenum, params []float32) { if len(params) != 1 && len(params) != 4 { panic(ErrorInputSize) } C.glTexEnvfv(C.GLenum(target), C.GLenum(pname), (*C.GLfloat)(¶ms[0])) }
//void glTexEnvfv (GLenum target, GLenum pname, const float *params) func TexEnvfv(target GLenum, pname GLenum, params []float32) { if len(params) != 1 && len(params) != 4 { panic("Invalid params slice length") } C.glTexEnvfv(C.GLenum(target), C.GLenum(pname), (*C.GLfloat)(¶ms[0])) }