mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-23 00:23:46 +00:00
use standard t3d maxes
This commit is contained in:
parent
25ea164a1f
commit
0d2f3e294d
2 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue