forked from M-Labs/nac3
1
0
Fork 0
nac3/nac3core/irrt/irrt_utils.hpp

11 lines
164 B
C++
Raw Normal View History

2024-07-10 00:38:01 +08:00
#pragma once
template <typename T>
static T max(T a, T b) {
return a > b ? a : b;
}
template <typename T>
static T min(T a, T b) {
return a > b ? b : a;
}