Example #1
0
File: texture.go Project: Nvveen/gl
//void glTexCoord3sv (const int16 *v)
func TexCoord3sv(v []int16) {
	if len(v) != 3 {
		panic(ErrorInputSize)
	}
	C.glTexCoord3sv((*C.GLshort)(&v[0]))
}
Example #2
0
//void glTexCoord3sv (const int16 *v)
func TexCoord3sv(v *[3]int16) {
	C.glTexCoord3sv((*C.GLshort)(&v[0]))
}