Exemplo n.º 1
0
 protected override void OnPaint(float dt, Vec2 pos)
 {
     base.OnPaint(dt, pos);
     if (this.m_painting == ToolPaint.PaintingMode.Plus)
     {
         TerrainManipulator.SetHeight(pos, this.m_height, this.m_brush);
         return;
     }
     TerrainManipulator.Average(pos, this.m_brush);
 }