Beispiel #1
0
Datei: gl.go Projekt: james4k/gl
//void glRasterPos4fv (const float *v)
func RasterPos4fv(v *[4]float32) {
	C.glRasterPos4fv((*C.GLfloat)(&v[0]))
}
Beispiel #2
0
Datei: gl.go Projekt: Nvveen/gl
//void glRasterPos4fv (const float *v)
func RasterPos4fv(v []float32) {
	if len(v) != 4 {
		panic(ErrorInputSize)
	}
	C.glRasterPos4fv((*C.GLfloat)(&v[0]))
}