mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
11 lines
225 B
C++
11 lines
225 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;
|
|
}
|
|
void ConvertHSVToRGB(float r, float g, float b, float* out_r, float* out_g, float* out_b);
|
|
#endif // LEGOUTIL_H
|