void Triangle::init() { initializeGLFunctions(); glGenBuffers(2, vboId); initialiseGeometry(); }
void Cube::init() { glGenBuffers(2, vboId); initialiseGeometry(); }