Core implementation of Physical Based Rendering.

This commit is contained in:
Areloch 2018-09-15 20:19:57 -05:00
parent 54f1d8c18e
commit b4a1d18f42
148 changed files with 4464 additions and 1016 deletions

View file

@ -175,6 +175,13 @@ inline F32 mMax(const F32 x, const F32 y)
return y;
}
inline F32 mMin(const F32 x, const F32 y)
{
if (x < y)
return x;
return y;
}
inline F32 mFloor(const F32 val)
{
return (F32) floor(val);