9e065aa0d5
projection() reads the model's box for the scene's depth, several times a frame, and model_bounds() sampled every sketch's curves for it each time, hidden sketches too. A 533-feature design with 445 sketches spent about 45 ms of every frame there (stack samples: model_bounds -> Sketch::bounds -> segs -> spline polylines), so orbiting ran near 16 fps. The sketches' box is now kept for the world state it was made from, as the bodies' boxes already are. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>