namespace dk { ///-------------------------------------------------------------------------- ///-------------------------------------------------------------------------- template LayerBase::LayerBase (const coords& parSize, const coords& parTileSize, const coords& parMasterTileSize) : m_size(parSize), m_tilesize(parTileSize), m_mastersize(parMasterTileSize) { DK_ASSERT((parMasterTileSize / parTileSize) * parTileSize == parMasterTileSize); } ///-------------------------------------------------------------------------- ///-------------------------------------------------------------------------- template Layer::Layer (const coords& parSize, const coords& parTileSize, const coords& parMasterTileSize, streamer_type&& parStreamer) : LayerBase(parSize, parTileSize, parMasterTileSize), m_streamer(std::move(parStreamer)) { } }