mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 22:54:34 +00:00
Add a new Terrain brush action: Smooth Slope.
This smoothes the terrain using a linear regression algorithm. Exists alongside the oldstyle height averaging action -- options are good!
This commit is contained in:
parent
1ed1a41256
commit
8eb0e98f86
8 changed files with 125 additions and 23 deletions
|
|
@ -258,6 +258,15 @@ class SmoothHeightAction : public TerrainAction
|
|||
void process(Selection * sel, const Gui3DMouseEvent & event, bool selChanged, Type type);
|
||||
};
|
||||
|
||||
class SmoothSlopeAction : public TerrainAction
|
||||
{
|
||||
public:
|
||||
SmoothSlopeAction(TerrainEditor * editor) : TerrainAction(editor){}
|
||||
StringTableEntry getName(){return("smoothSlope");}
|
||||
|
||||
void process(Selection * sel, const Gui3DMouseEvent & event, bool selChanged, Type type);
|
||||
};
|
||||
|
||||
class PaintNoiseAction : public TerrainAction
|
||||
{
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue