set sets the module at (x, y) to v.
(x int, y int, v bool)
| 92 | |
| 93 | // set sets the module at (x, y) to v. |
| 94 | func (m *symbol) set(x int, y int, v bool) { |
| 95 | m.module[y+m.quietZoneSize][x+m.quietZoneSize] = v |
| 96 | m.isUsed[y+m.quietZoneSize][x+m.quietZoneSize] = true |
| 97 | } |
| 98 | |
| 99 | // set2dPattern sets a 2D array of modules, starting at (x, y). |
| 100 | func (m *symbol) set2dPattern(x int, y int, v [][]bool) { |
no outgoing calls