Пример #1
0
        private void Update(WorldForm wf, ref MapSelection sel, Vector3 p)
        {
            if (Vertex != null)
            {
                Vertex.Position = p;
            }

            if (Vertex != sel.CollisionVertex)
            {
                wf.SelectCollisionVertex(Vertex);
            }
            wf.SetWidgetPosition(p);

            UpdateGraphics(wf);
        }