13 lines
284 B
C
13 lines
284 B
C
/**
|
|
* Copyright (c) 2022 Dominic Masters
|
|
*
|
|
* This software is released under the MIT License.
|
|
* https://opensource.org/licenses/MIT
|
|
*/
|
|
|
|
#pragma once
|
|
#include "libs.h"
|
|
|
|
#define MATH_MIN(a, b) a > b ? b : a
|
|
#define MATH_MAX(a, b) a < b ? b : a
|
|
#define MATH_ABS(n) (n < 0 ? -n : n) |