blob: a6cd65dc27dbe9638ddbb3de5a3813c87f05fe5e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef HEIGHTMAPDATA_H
#define HEIGHTMAPDATA_H
#include "Runtime/BaseClasses/BaseObject.h"
#include "Runtime/Serialize/SerializeUtility.h"
#include "Runtime/Math/Vector3.h"
#include "Runtime/Utilities/dynamic_array.h"
struct HeightmapData
{
DECLARE_SERIALIZE (HeightmapData)
Vector3f position;
PPtr<Object> terrainData;
};
typedef dynamic_array<HeightmapData> HeightmapDataVector;
template<class TransferFunction>
void HeightmapData::Transfer (TransferFunction& transfer)
{
TRANSFER (position);
TRANSFER (terrainData);
}
#endif
|