Ajoute le paquet mths
This commit is contained in:
commit
1d08d368d5
4 files changed
+52
No files matched your search
@@ -0,0 +1,8 @@
|
||||
/** Get the maximum between two numbers */
|
||||
#define MAX(x, y) ((x > y) ? x : y)
|
||||
|
||||
/** Get the minimum between two numbers */
|
||||
#define MIN(x, y) ((x < y) ? x : y)
|
||||
|
||||
/** Linearly interpolate t between two points a and b */
|
||||
#define LERP(a, b, t) ((b - a) * t + a)
|
||||
Reference in new issue
Block a user