예제 #1
0
 public ThreeDModel()
 {
     Position = new Coord3D()
     {
         updatedInfo = false, IsLanding = false
     };
     Rotation = new Coord3D();
     Scale    = new Coord3D(1, 1, 1, true);
 }
예제 #2
0
        private void CoordOnPropertyChanged(object sender, PropertyChangedEventArgs propertyChangedEventArgs)
        {
            Coord3D coord = (Coord3D)sender;

            UpdateBoundingBox();
            ProjectManager.Instance.CurrentProject.updateSelectedModel();

            if (coord.IsLanding)
            {
                Position.Z -= zMin;
                UpdateBoundingBox();
            }
            if (coord.updatedInfo)
            {
                Analyse();
            }
        }