Clears and resets atlas back to the initial state.
| 138 | /// Clears and resets atlas back to the initial state. |
| 139 | /// </summary> |
| 140 | void Reset() |
| 141 | { |
| 142 | Width = 0; |
| 143 | Height = 0; |
| 144 | BordersPadding = 0; |
| 145 | Nodes.Clear(); |
| 146 | FreeNodes.Clear(); |
| 147 | } |
| 148 | |
| 149 | /// <summary> |
| 150 | /// Tries to insert a node into the atlas using rectangle pack algorithm. |
no test coverage detected