Example #1
0
File: gl.go Project: james4k/gl
//void glRasterPos3fv (const float *v)
func RasterPos3fv(v *[3]float32) {
	C.glRasterPos3fv((*C.GLfloat)(&v[0]))
}
Example #2
0
File: gl.go Project: Nvveen/gl
//void glRasterPos3fv (const float *v)
func RasterPos3fv(v []float32) {
	if len(v) != 3 {
		panic(ErrorInputSize)
	}
	C.glRasterPos3fv((*C.GLfloat)(&v[0]))
}