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

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

            DirectionalLightViewModel = new DirectionalLightViewModel(viewer);
        }