wynnbuilder-forked-for-changes/js/c++/utils.h

13 lines
204 B
C
Raw Normal View History

#pragma once
/**
* Clamp number between low and high values.
*
* @param num: value to clamp
* @param low
* @param high
*
* @return clamped value
*/
float clamp(float num, float low, float high);