Beispiel #1
0
//void glColor4fv (const float *v)
func Color4fv(v []float32) {
	if len(v) != 4 {
		panic(ErrorInputSize)
	}
	C.glColor4fv((*C.GLfloat)(&v[0]))
}
Beispiel #2
0
//void glColor4fv (const float *v)
func Color4fv(v *[4]float32) {
	C.glColor4fv((*C.GLfloat)(&v[0]))
}