Udp
This commit is contained in:
committed by
Matthew McClaskey
parent
ba902f8194
commit
3b40a92548
15
common/network/webudp/WuMath.h
Normal file
15
common/network/webudp/WuMath.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
template <typename T>
|
||||
const T& Min(const T& a, const T& b) {
|
||||
if (a < b) return a;
|
||||
|
||||
return b;
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
const T& Max(const T& a, const T& b) {
|
||||
if (a > b) return a;
|
||||
|
||||
return b;
|
||||
}
|
||||
Reference in New Issue
Block a user