// Finalizes the scene for rendering void finalize() { world.add_primitives(primitives); world.finalize(); }