Example #1
0
File: texture.go Project: Nvveen/gl
//void glTexCoord4fv (const float *v)
func TexCoord4fv(v []float32) {
	if len(v) != 4 {
		panic(ErrorInputSize)
	}
	C.glTexCoord4fv((*C.GLfloat)(&v[0]))
}
Example #2
0
//void glTexCoord4fv (const float *v)
func TexCoord4fv(v *[4]float32) {
	C.glTexCoord4fv((*C.GLfloat)(&v[0]))
}