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