b157f79fc0
super inefficient for dev for now; set multiple files to compile separately into frankenstein js files as I migrate code
12 lines
204 B
C
12 lines
204 B
C
#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);
|