mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-26 17:46:38 -05:00
10 lines
136 B
C
10 lines
136 B
C
|
#ifndef LEGOUTIL_H
|
||
|
#define LEGOUTIL_H
|
||
|
|
||
|
template <class T>
|
||
|
inline T Abs(T p_t)
|
||
|
{
|
||
|
return p_t < 0 ? -p_t : p_t;
|
||
|
}
|
||
|
|
||
|
#endif // LEGOUTIL_H
|