gwnavruntime/navmesh/blobs/flooraltituderange.h Source File
Go to the documentation of this file.
49 SwapEndianness(e,
self.m_minZ);
50 SwapEndianness(e,
self.m_maxZ);
59 return operand1 * operand2 > 0.f;
72 return operand1 * operand2 > 0.f;
75 KY_INLINE
void FloorAltitudeRange::Update(
KyFloat32 altitude)
bool DoesIntersect(const FloorAltitudeRange &other) const
Returns true if the range of altitudes represented by this object intersects the range represented by...
Definition: flooraltituderange.h:62
Represents the range of altitudes covered by a single NavFloorBlob.
Definition: flooraltituderange.h:15
KyFloat32 m_minZ
Stores the minimum altitude covered by this range. Do not modify.
Definition: flooraltituderange.h:43
#define KyFloat32MAXVAL
KyFloat32 max value
Definition: types.h:71
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:132
Target
Enumerates the possible endianness types relative to the current platform.
Definition: endianness.h:27
bool IsAltitudeInside(KyFloat32 altitude, KyFloat32 toleranceAboveFloor, KyFloat32 toleranceBelowFloor) const
Returns true if the specified coordinates are within the range of altitudes represented by this objec...
Definition: flooraltituderange.h:54
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
KyFloat32 m_maxZ
Stores the maximum altitude covered by this range. Do not modify.
Definition: flooraltituderange.h:44
KyFloat32 Fsel(KyFloat32 a, KyFloat32 x, KyFloat32 y)
x if a>=0.0f, y if a<0.0f>0.0f>
Definition: fastmath.h:19
float KyFloat32
float
Definition: types.h:32