gamnit :: AttributeVec2 :: defaultinit
# Shader attribute of GLSL type `vec2`
class AttributeVec2
super Attribute
# Set the uniform value to use when the vertex array is disabled
fun uniform(x, y: Float) do if is_active then glVertexAttrib2f(location, x, y)
end
lib/gamnit/programs.nit:117,1--123,3