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