diff options
Diffstat (limited to 'utils.py')
-rw-r--r-- | utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -16,6 +16,7 @@ # You should have received a copy of the GNU Lesser General Public License # along with PyCha. If not, see <http://www.gnu.org/licenses/>. + def clamp(minValue, maxValue, value): """Make sure value is between minValue and maxValue""" if value < minValue: |