mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
use standard t3d maxes
This commit is contained in:
parent
25ea164a1f
commit
0d2f3e294d
|
|
@ -872,7 +872,7 @@ void TerrainScratchPad::clear()
|
|||
delete(mContents[i]);
|
||||
mContents.clear();
|
||||
mBottom = F32_MAX;
|
||||
mTop = F32_MIN;
|
||||
mTop = F32_MIN_EX;
|
||||
}
|
||||
|
||||
void copyAction::process(Selection* sel, const Gui3DMouseEvent&, bool selChanged, Type type)
|
||||
|
|
@ -952,7 +952,7 @@ void pasteDownAction::process(Selection* sel, const Gui3DMouseEvent&, bool selCh
|
|||
if (type != Begin)
|
||||
return;
|
||||
|
||||
F32 ceiling = F32_MIN;
|
||||
F32 ceiling = F32_MIN_EX;
|
||||
for (U32 i = 0; i < sel->size(); i++)
|
||||
{
|
||||
ceiling = mMax((*sel)[i].mHeight, ceiling);
|
||||
|
|
|
|||
|
|
@ -355,7 +355,7 @@ class TerrainScratchPad
|
|||
{
|
||||
public:
|
||||
F32 mBottom, mTop;
|
||||
TerrainScratchPad(): mBottom(FLT_MAX), mTop(F32_MIN){};
|
||||
TerrainScratchPad(): mBottom(F32_MAX), mTop(F32_MIN_EX){};
|
||||
~TerrainScratchPad() { mContents.clear(); };
|
||||
void clear();
|
||||
class gridStub
|
||||
|
|
|
|||
Loading…
Reference in a new issue