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