public ThreeDModel() { Position = new Coord3D() { updatedInfo = false, IsLanding = false }; Rotation = new Coord3D(); Scale = new Coord3D(1, 1, 1, true); }
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(); } }