Example #1
0
File: gl.go Project: james4k/gl
//void glLightModeliv (GLenum pname, const int *params)
func LightModeliv(pname GLenum, params []int32) {
	if len(params) == 0 {
		panic("Invalid params length")
	}
	C.glLightModeliv(C.GLenum(pname), (*C.GLint)(&params[0]))
}
Example #2
0
File: gl.go Project: Nvveen/gl
//void glLightModeliv (GLenum pname, const int *params)
func LightModeliv(pname GLenum, params []int32) {
	if len(params) == 0 {
		panic(ErrorInputSize)
	}
	C.glLightModeliv(C.GLenum(pname), (*C.GLint)(&params[0]))
}