NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
inlines.hpp
1#pragma once
2#include <types.h>
3
4namespace nw4r {
5namespace 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
T Min(T a, T b)
Gets the smaller of the two given values.
Definition inlines.hpp:9
T Max(T a, T b)
Gets the larger of the two given values.
Definition inlines.hpp:15