gwnavruntime/queries/utils/costmultipliersubsegment.h Source File
Go to the documentation of this file.
8 #ifndef Navigation_CostMultiplierSubSegment_H
9 #define Navigation_CostMultiplierSubSegment_H
23 class CostMultiplierSubSegment
30 m_exitPos3f(KyFloat32MAXVAL, KyFloat32MAXVAL, KyFloat32MAXVAL),
31 m_costMultiplier(-1.f) {}
42 SwapEndianness(e,
self.m_entrancePos3f);
43 SwapEndianness(e,
self.m_exitPos3f);
44 SwapEndianness(e,
self.m_costMultiplier);
50 #endif //Navigation_CostMultiplierSubSegment_H
#define KyFloat32MAXVAL
The maximum value that can be stored in the KyFloat32 variable type.
Definition: types.h:227
Vec3f m_exitPos3f
Records the ending point of the sub-segment.
Definition: costmultipliersubsegment.h:40
Target
Enumerates the possible endianness types relative to the current platform.
Definition: endianness.h:35
Definition: gamekitcrowddispersion.h:20
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:137
This class represents a CostMultiplier sub-segment of a ray (within a RayCastQuery or a RayCanGoQuery...
Definition: costmultipliersubsegment.h:25
Vec3f m_entrancePos3f
Records the starting point of the sub-segment.
Definition: costmultipliersubsegment.h:39
float KyFloat32
Type used internally to represent a 32-bit floating-point number.
Definition: types.h:43
This class defines a three-dimensional vector whose coordinates are stored using floating-point numbe...
Definition: vec3f.h:23