public void Save(Stream target)
        {
            using var writer = new StreamWriter(target, new UTF8Encoding());
            var tmp = new Renderable[Shapes.Count];

            Shapes.CopyTo(tmp, 0);
            new XmlSerializer(typeof(SaveContainer)).Serialize(writer, new SaveContainer()
            {
                camera = cam, shapes = tmp
            });
        }