gwnavruntime/navmesh/blobs/navvertex.h Source File
Go to the documentation of this file.
21 NavVertex() : x(0xFF), y(0xFF) {}
25 KyInt32 GetX32()
const {
return IntCoordSystem::PixelCoordToInt((
KyInt32)x); }
26 KyInt32 GetY32()
const {
return IntCoordSystem::PixelCoordToInt((
KyInt32)y); }
31 bool operator==(
const NavVertex& v)
const {
return x == v.x && y == v.y; }
32 bool operator!=(
const NavVertex& v)
const {
return x != v.x || y != v.y; }
33 bool operator<(
const NavVertex& v)
const {
return (x != v.x) ? (x < v.x) : (y < v.y); }
34 bool operator>(
const NavVertex& v)
const {
return (x != v.x) ? (x > v.x) : (y > v.y); }
43 SwapEndianness(e,
self.x);
44 SwapEndianness(e,
self.y);
Vec2i CoordPos
A type that represents the position of a point within the 2D integer grid.
Definition: navmeshtypes.h:20
Target
Enumerates the possible endianness types relative to the current platform.
Definition: endianness.h:27
std::int64_t KyInt64
int64_t
Definition: types.h:25
Vec2LL CoordPos64
A type that represents the position of a point within the 2D integer grid.
Definition: navmeshtypes.h:16
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
std::int32_t KyInt32
int32_t
Definition: types.h:24
std::uint8_t KyUInt8
uint8_t
Definition: types.h:27