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