protected override void OnPaint(float dt, Vec2 pos) { base.OnPaint(dt, pos); float value = this.m_height.Value; TerrainManipulator.RaiseLower(pos, (this.m_painting == ToolPaint.PaintingMode.Plus) ? value : (-value), this.m_brush); }
protected override void OnPaint(float dt, Vec2 pos) { base.OnPaint(dt, pos); float value = this.m_height.Value; TerrainManipulator.RaiseLower(pos, (this.m_painting == ToolPaint.PaintingMode.Plus) ? value : (-value), this.m_brush); }