示例#1
0
文件: gl.go 项目: james4k/gl
//void glNormal3iv (const int *v)
func Normal3iv(v *[3]int32) {
	C.glNormal3iv((*C.GLint)(&v[0]))
}
示例#2
0
文件: gl.go 项目: Nvveen/gl
//void glNormal3iv (const int *v)
func Normal3iv(v []int32) {
	if len(v) != 3 {
		panic(ErrorInputSize)
	}
	C.glNormal3iv((*C.GLint)(&v[0]))
}