DoorKeeper/include/implem/layer.inl
King_DuckZ 1e5f4fd2f0 Adding the concept of layers.
Deferring the data loading task to lower level classes.
test_tiler removed as Tyler won't require the user to derive from it anymore.
2014-12-09 23:53:09 +01:00

18 lines
606 B
C++

namespace dk {
///--------------------------------------------------------------------------
///--------------------------------------------------------------------------
template <size_t D>
LayerBase<D>::LayerBase (const coords& parSize) :
m_size(parSize)
{
}
///--------------------------------------------------------------------------
///--------------------------------------------------------------------------
template <typename T, size_t D>
Layer<T, D>::Layer (const coords& parSize, streamer_type&& parStreamer) :
LayerBase<D>(parSize),
m_streamer(std::move(parStreamer))
{
}
}