示例#1
0
文件: gl.go 项目: james4k/gl
//void glFogiv (GLenum pname, const int *params)
func Fogiv(pname GLenum, params []int32) {
	if len(params) == 0 {
		panic("Invalid params length")
	}
	C.glFogiv(C.GLenum(pname), (*C.GLint)(&params[0]))
}
示例#2
0
文件: gl.go 项目: Nvveen/gl
//void glFogiv (GLenum pname, const int *params)
func Fogiv(pname GLenum, params []int32) {
	if len(params) == 0 {
		panic(ErrorInputSize)
	}
	C.glFogiv(C.GLenum(pname), (*C.GLint)(&params[0]))
}