gwnavruntime/collision/heightfieldblob.h Source File
Go to the documentation of this file.
7 #ifndef Navigation_HeightFieldBlob_H
8 #define Navigation_HeightFieldBlob_H
20 KY_ROOT_BLOB_CLASS(CollisionData, HeightFieldBlob, 0)
27 BlobArray<KyFloat32> m_altitudes;
35 SwapEndianness(e,
self.m_origin);
36 SwapEndianness(e,
self.m_altitudes);
37 SwapEndianness(e,
self.m_tileSize);
38 SwapEndianness(e,
self.m_xAltitudeCount);
39 SwapEndianness(e,
self.m_yAltitudeCount);
42 class HeightFieldBlobBuilder :
public BaseBlobBuilder<HeightFieldBlob>
46 m_origin(origin), m_tileSize(tileSize), m_xAltitudeCount(xCount), m_yAltitudeCount(yCount) {}
65 #endif //Navigation_HeightFieldBlob_H
#define BLOB_SET(blob, value)
Use this macro only in implementations of BaseBlobBuilder::DoBuild().
Definition: baseblobbuilder.h:136
#define KY_CLASS_WITHOUT_COPY(ClassName)
Define to forbid copy constructor and copy assignment.
Definition: types.h:387
Target
Enumerates the possible endianness types relative to the current platform.
Definition: endianness.h:35
HeightFieldBlob * m_blob
The blob maintained by this builder. Only modify using the macros listed under DoBuild().
Definition: baseblobbuilder.h:117
Definition: gamekitcrowddispersion.h:20
#define BLOB_ARRAY(blobArray, count)
Use this macro only in implementations of BaseBlobBuilder::DoBuild().
Definition: baseblobbuilder.h:147
unsigned int KyUInt32
Type used internally to represent an unsigned 32-bit integer.
Definition: types.h:36
float KyFloat32
Type used internally to represent a 32-bit floating-point number.
Definition: types.h:43