(atom: chemistry::Atom, offset: i32)
| 172 | } |
| 173 | |
| 174 | pub fn atom_offset(atom: chemistry::Atom, offset: i32) -> Point { |
| 175 | Point { |
| 176 | x: atom.protons as i32, |
| 177 | y: offset, |
| 178 | } |
| 179 | } |
| 180 | |
| 181 | pub fn shape(sides: u32) -> &'static str { |
| 182 | if sides == 3 { |