Example #1
0
File: texture.go Project: Nvveen/gl
//void glTexCoord2iv (const int *v)
func TexCoord2iv(v []int32) {
	if len(v) != 2 {
		panic(ErrorInputSize)
	}
	C.glTexCoord2iv((*C.GLint)(&v[0]))
}
Example #2
0
//void glTexCoord2iv (const int *v)
func TexCoord2iv(v *[2]int32) {
	C.glTexCoord2iv((*C.GLint)(&v[0]))
}