pub struct Rect2d { origin: Point2d, size: Vec2d, }