merged up to - src/gl/base/mesh.js