Exemple #1
0
//void glTexCoord2sv (const int16 *v)
func TexCoord2sv(v []int16) {
	if len(v) != 2 {
		panic(ErrorInputSize)
	}
	C.glTexCoord2sv((*C.GLshort)(&v[0]))
}
Exemple #2
0
//void glTexCoord2sv (const int16 *v)
func TexCoord2sv(v *[2]int16) {
	C.glTexCoord2sv((*C.GLshort)(&v[0]))
}