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