Пример #1
0
//void glVertex4fv (const float *v)
func Vertex4fv(v []float32) {
	if len(v) != 4 {
		panic(ErrorInputSize)
	}
	C.glVertex4fv((*C.GLfloat)(&v[0]))
}
Пример #2
0
//void glVertex4fv (const float *v)
func Vertex4fv(v *[4]float32) {
	C.glVertex4fv((*C.GLfloat)(&v[0]))
}