Kore 3
Loading...
Searching...
No Matches
includes
kore3
math
core.h
Go to the documentation of this file.
1
#ifndef KORE_MATH_CORE_HEADER
2
#define KORE_MATH_CORE_HEADER
3
4
#include <
kore3/global.h
>
5
9
10
#ifdef __cplusplus
11
extern
"C"
{
12
#endif
13
14
#define KORE_PI 3.141592654
15
#define KORE_TAU 6.283185307
16
17
KORE_FUNC
float
kore_cot(
float
x);
18
KORE_FUNC
float
kore_round(
float
value);
19
KORE_FUNC
float
kore_abs(
float
value);
20
KORE_FUNC
float
kore_min(
float
a,
float
b);
21
KORE_FUNC
float
kore_max(
float
a,
float
b);
22
KORE_FUNC
int
kore_mini(
int
a,
int
b);
23
KORE_FUNC
int
kore_maxi(
int
a,
int
b);
24
KORE_FUNC
float
kore_clamp(
float
value,
float
minValue,
float
maxValue);
25
26
#ifdef __cplusplus
27
}
28
#endif
29
30
#endif
global.h
Provides basic functionality that's used all over the place. There's usually no need to manually incl...
Generated by
1.15.0