mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-25 23:29:24 +00:00
Core implementation of Physical Based Rendering.
This commit is contained in:
parent
54f1d8c18e
commit
b4a1d18f42
148 changed files with 4464 additions and 1016 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue