diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2014-08-03 21:28:40 +0400 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2014-08-03 21:28:40 +0400 |
commit | b8676241e0c9f91eb9db5b6757e73edfe7f85598 (patch) | |
tree | 0965f7a32f24669a84d1c25141a5bdea85a3ec5a /xs/src/Layer.cpp | |
parent | 7ff13c063f4c6e74aa06b986378011679d0b9cf0 (diff) |
Split Print.cpp and Layer.cpp into multiple compilation units
Diffstat (limited to 'xs/src/Layer.cpp')
-rw-r--r-- | xs/src/Layer.cpp | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/xs/src/Layer.cpp b/xs/src/Layer.cpp index 107ff1be7..689077d46 100644 --- a/xs/src/Layer.cpp +++ b/xs/src/Layer.cpp @@ -6,46 +6,6 @@ namespace Slic3r { -LayerRegion::LayerRegion(Layer *layer, PrintRegion *region) -: _layer(layer), - _region(region) -{ -} - -LayerRegion::~LayerRegion() -{ -} - -Layer* -LayerRegion::layer() -{ - return this->_layer; -} - -PrintRegion* -LayerRegion::region() -{ - return this->_region; -} - -Flow -LayerRegion::flow(FlowRole role, bool bridge, double width) const -{ - return this->_region->flow( - role, - this->_layer->height, - bridge, - this->_layer->id() == 0, - width, - *this->_layer->object() - ); -} - -#ifdef SLIC3RXS -REGISTER_CLASS(LayerRegion, "Layer::Region"); -#endif - - Layer::Layer(int id, PrintObject *object, coordf_t height, coordf_t print_z, coordf_t slice_z) : _id(id), |