예제 #1
0
        public void Render()
        {
            SelectionModel  selectionmodel = SelectionModel.GetInstance();
            IGraphicsHelper graphics       = GraphicsHelperFactory.GetInstance();

            for (int i = 0; i < selectionmodel.SelectedObjects.Count; i++)
            {
                Entity entity = selectionmodel.SelectedObjects[i];

                graphics.PushMatrix();

                if (entity.Parent != null)
                {
                    (entity as EntityGroup).ApplyTransforms();
                }

                entity.DrawSelected();
                graphics.PopMatrix();
            }
        }