Пример #1
0
//void glTexCoord2dv (const float64 *v)
func TexCoord2dv(v []float64) {
	if len(v) != 2 {
		panic(ErrorInputSize)
	}
	C.glTexCoord2dv((*C.GLdouble)(&v[0]))
}
Пример #2
0
//void glTexCoord2dv (const float64 *v)
func TexCoord2dv(v *[2]float64) {
	C.glTexCoord2dv((*C.GLdouble)(&v[0]))
}