Ejemplo n.º 1
0
        public ViewerViewModel(Viewer viewer)
        {
            if (viewer == null) throw new ArgumentNullException("viewer");
            this.viewer = viewer;

            DirectionalLightViewModel = new DirectionalLightViewModel(viewer);
        }
Ejemplo n.º 2
0
        public ViewerViewModel(Viewer viewer)
        {
            if (viewer == null)
            {
                throw new ArgumentNullException("viewer");
            }
            this.viewer = viewer;

            DirectionalLightViewModel = new DirectionalLightViewModel(viewer);
        }