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