(point: Point, axis: Axis)
| 165 | } |
| 166 | |
| 167 | pub fn axis_value(point: Point, axis: Axis) -> i32 { |
| 168 | match axis { |
| 169 | Axis::X => point.x, |
| 170 | Axis::Y => point.y, |
| 171 | } |
| 172 | } |
| 173 | |
| 174 | pub fn atom_offset(atom: chemistry::Atom, offset: i32) -> Point { |
| 175 | Point { |
nothing calls this directly
no outgoing calls
no test coverage detected