func VertexAttrib2f( indx uint32, x float32, y float32) { C.glVertexAttrib2f( C.GLuint(indx), C.GLfloat(x), C.GLfloat(y)) }
func VertexAttrib2f(dst Attrib, x, y float32) { defer func() { errstr := errDrain() log.Printf("gl.VertexAttrib2f(%v, %v, %v) %v", dst, x, y, errstr) }() C.glVertexAttrib2f(dst.c(), C.GLfloat(x), C.GLfloat(y)) }
func VertexAttrib2f(dst Attrib, x, y float32) { C.glVertexAttrib2f(dst.c(), C.GLfloat(x), C.GLfloat(y)) }
func (indx AttribLocation) Attrib2f(x float32, y float32) { C.glVertexAttrib2f(C.GLuint(indx), C.GLfloat(x), C.GLfloat(y)) }
func (a Vec2Attrib) Set(x, y float32) { C.glVertexAttrib2f(a.index, C.GLfloat(x), C.GLfloat(y)) }