Beispiel #1
0
        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);
        }