- GL::PushMatrix push_mat;
- track.apply_matrix();
- GL::translate(0, 0, z_offs);
+void Path3D::render(GL::Renderer &renderer, const GL::Tag &tag) const
+{
+ if(tag=="unlit")
+ {
+ GL::MatrixStack::Push push_mtx(renderer.matrix_stack());
+ renderer.matrix_stack() *= track.Object3D::get_matrix();
+ renderer.matrix_stack() *= GL::Matrix::translation(0, 0, z_offs);