Exemple #1
0
Fichier : gl.go Projet : james4k/gl
//void glRasterPos2fv (const float *v)
func RasterPos2fv(v *[2]float32) {
	C.glRasterPos2fv((*C.GLfloat)(&v[0]))
}
Exemple #2
0
Fichier : gl.go Projet : Nvveen/gl
//void glRasterPos2fv (const float *v)
func RasterPos2fv(v []float32) {
	if len(v) != 2 {
		panic(ErrorInputSize)
	}
	C.glRasterPos2fv((*C.GLfloat)(&v[0]))
}