Use properly sized attributes instead of all vec4s.
Remove Line and Square.
VertexArray should not be in glshader.hh.
Object3d::drawVBO is misleading function name.