mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +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]);
|
delete(mContents[i]);
|
||||||
mContents.clear();
|
mContents.clear();
|
||||||
mBottom = F32_MAX;
|
mBottom = F32_MAX;
|
||||||
mTop = F32_MIN;
|
mTop = F32_MIN_EX;
|
||||||
}
|
}
|
||||||
|
|
||||||
void copyAction::process(Selection* sel, const Gui3DMouseEvent&, bool selChanged, Type type)
|
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)
|
if (type != Begin)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
F32 ceiling = F32_MIN;
|
F32 ceiling = F32_MIN_EX;
|
||||||
for (U32 i = 0; i < sel->size(); i++)
|
for (U32 i = 0; i < sel->size(); i++)
|
||||||
{
|
{
|
||||||
ceiling = mMax((*sel)[i].mHeight, ceiling);
|
ceiling = mMax((*sel)[i].mHeight, ceiling);
|
||||||
|
|
|
||||||
|
|
@ -355,7 +355,7 @@ class TerrainScratchPad
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
F32 mBottom, mTop;
|
F32 mBottom, mTop;
|
||||||
TerrainScratchPad(): mBottom(FLT_MAX), mTop(F32_MIN){};
|
TerrainScratchPad(): mBottom(F32_MAX), mTop(F32_MIN_EX){};
|
||||||
~TerrainScratchPad() { mContents.clear(); };
|
~TerrainScratchPad() { mContents.clear(); };
|
||||||
void clear();
|
void clear();
|
||||||
class gridStub
|
class gridStub
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue