NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
inlines.hpp
1
#pragma once
2
#include <types.h>
3
4
namespace
nw4r {
5
namespace
ut {
6
8
template
<
typename
T>
9
inline
T
Min
(T a, T b) {
10
return
(a > b) ? b : a;
11
}
12
14
template
<
typename
T>
15
inline
T
Max
(T a, T b) {
16
return
(a < b) ? b : a;
17
}
18
19
}
// namespace ut
20
}
// namespace nw4r
nw4r::ut::Min
T Min(T a, T b)
Gets the smaller of the two given values.
Definition
inlines.hpp:9
nw4r::ut::Max
T Max(T a, T b)
Gets the larger of the two given values.
Definition
inlines.hpp:15
include
lib
nw4r
ut
inlines.hpp
Made with ❤️ by
CLF78
and
RootCubed
. Logos by
Chasical
and
B1
. Website generated by
Doxygen
1.12.0