I don't quite understand how extrusion works, I could extrude and turn into a mesh for some primitive 2D shapes but not others:
e.g. Here I can create an extrusion but I get error on the last line because it can't be converted to a mesh
let l: Line2d = Line2d { direction: Dir2::X };
let e = Extrusion::new(l, 4.0)
meshes.add(e)
Do I need to do something else to turn this into a mesh? whats the point in being able to turn it into an Extrusion if I can't turn it into a mesh after?