mercator 0.4.0
A terrain generation library for the Worldforge system.
Buffer_impl.h
1// This file may be redistributed and modified only under the terms of
2// the GNU General Public License (See COPYING for details).
3// Copyright (C) 2003 Alistair Riddoch
4
5#include "Buffer.h"
6
7namespace Mercator {
8
9template <typename DataType>
10Buffer<DataType>::Buffer(unsigned int size, unsigned int channels) :
11 m_channels(channels), m_size(size)
12{
13}
14
15template <typename DataType>
17
18} // namespace Mercator
Template for managing buffers of data for a segment.
Definition: Buffer.h:14
Buffer(unsigned int size, unsigned int channels)
Constructor.
Definition: Buffer_impl.h:10