mirror of
https://github.com/enzet/map-machine.git
synced 2025-05-30 17:36:27 +02:00
Add frame icon, ridge, scree, rock.
This commit is contained in:
parent
4fe7707118
commit
ff333e83a3
3 changed files with 7841 additions and 7696 deletions
8
roentgen/util.py
Normal file
8
roentgen/util.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
class MinMax:
|
||||
def __init__(self):
|
||||
self.min_ = None
|
||||
self.max_ = None
|
||||
|
||||
def add(self, value):
|
||||
self.min_ = value if not self.min_ or value < self.min_ else self.min_
|
||||
self.max_ = value if not self.max_ or value > self.max_ else self.max_
|
Loading…
Add table
Add a link
Reference in a new issue