LeviLamina
Loading...
Searching...
No Matches
Math.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
namespace
mce {
struct
Degree
; }
8
namespace
mce {
struct
Radian
; }
9
// clang-format on
10
11
namespace
mce::Math {
12
// functions
13
// NOLINTBEGIN
14
#ifdef LL_PLAT_S
15
MCAPI ::mce::Radian atan2(
float
dy,
float
dx);
16
#endif
17
18
MCAPI
float
clamp(
float
v,
float
low,
float
high);
19
20
MCAPI
int
clamp(
int
v,
int
low,
int
high);
21
22
MCAPI
float
clampRotate(
float
current,
float
target,
float
maxDelta);
23
24
MCAPI
float
cos(
float
f);
25
26
MCAPI
float
easeInBack(
float
from,
float
to,
float
alpha);
27
28
MCAPI
float
easeInBounce(
float
from,
float
to,
float
alpha);
29
30
MCAPI
float
easeInCirc(
float
from,
float
to,
float
alpha);
31
32
MCAPI
float
easeInCubic(
float
from,
float
to,
float
alpha);
33
34
MCAPI
float
easeInElastic(
float
from,
float
to,
float
alpha);
35
36
MCAPI
float
easeInExpo(
float
from,
float
to,
float
alpha);
37
38
MCAPI
float
easeInOutBack(
float
from,
float
to,
float
alpha);
39
40
MCAPI
float
easeInOutBounce(
float
from,
float
to,
float
alpha);
41
42
MCAPI
float
easeInOutCirc(
float
from,
float
to,
float
alpha);
43
44
MCAPI
float
easeInOutCubic(
float
from,
float
to,
float
alpha);
45
46
MCAPI
float
easeInOutElastic(
float
from,
float
to,
float
alpha);
47
48
MCAPI
float
easeInOutExpo(
float
from,
float
to,
float
alpha);
49
50
MCAPI
float
easeInOutQuad(
float
from,
float
to,
float
alpha);
51
52
MCAPI
float
easeInOutQuart(
float
from,
float
to,
float
alpha);
53
54
MCAPI
float
easeInOutQuint(
float
from,
float
to,
float
alpha);
55
56
MCAPI
float
easeInOutSine(
float
from,
float
to,
float
alpha);
57
58
MCAPI
float
easeInQuad(
float
from,
float
to,
float
alpha);
59
60
MCAPI
float
easeInQuart(
float
from,
float
to,
float
alpha);
61
62
MCAPI
float
easeInQuint(
float
from,
float
to,
float
alpha);
63
64
MCAPI
float
easeInSine(
float
from,
float
to,
float
alpha);
65
66
MCAPI
float
easeOutBack(
float
from,
float
to,
float
alpha);
67
68
MCAPI
float
easeOutBounce(
float
from,
float
to,
float
alpha);
69
70
MCAPI
float
easeOutCirc(
float
from,
float
to,
float
alpha);
71
72
MCAPI
float
easeOutCubic(
float
from,
float
to,
float
alpha);
73
74
MCAPI
float
easeOutElastic(
float
from,
float
to,
float
alpha);
75
76
MCAPI
float
easeOutExpo(
float
from,
float
to,
float
alpha);
77
78
MCAPI
float
easeOutQuad(
float
from,
float
to,
float
alpha);
79
80
MCAPI
float
easeOutQuart(
float
from,
float
to,
float
alpha);
81
82
MCAPI
float
easeOutQuint(
float
from,
float
to,
float
alpha);
83
84
MCAPI
float
easeOutSine(
float
from,
float
to,
float
alpha);
85
86
MCAPI
float
lerpRotate(
float
from,
float
to,
float
alpha);
87
88
#ifdef LL_PLAT_S
89
MCAPI
float
sin(
float
f);
90
#endif
91
92
MCAPI
float
wrapDegrees(
float
input);
93
94
MCAPI ::mce::Degree wrapDegrees(::mce::Degree input);
95
96
MCAPI
float
wrapRadians(
float
angle);
97
// NOLINTEND
98
99
}
// namespace mce::Math
mce::Degree
Definition
Degree.h:17
mce::Radian
Definition
Radian.h:12
src
mc
deps
core
math
Math.h
Generated on
for LeviLamina by
1.16.1