use cgmath::Point2; #[derive(Debug, Clone, Copy)] pub struct Camera { /// Camera center pub pos: Point2, /// Camera zoom /// (How many game units tall is the viewport?) pub zoom: f32, }