gwnavruntime/math/triangle3i.h Source File
Go to the documentation of this file.
23 void Set(
const Vec3i& A_,
const Vec3i& B_,
const Vec3i& C_) { A = A_; B = B_; C = C_; }
26 const Vec3i& operator[](
KyInt32 i)
const {
return (&A)[i]; }
47 SwapEndianness(e,
self.A);
48 SwapEndianness(e,
self.B);
49 SwapEndianness(e,
self.C);
3d vector using 32bits integer
Definition: vec3i.h:15
std::uint32_t KyUInt32
uint32_t
Definition: types.h:29
bool IsInside2d_NoFlat(const Vec2i &M) const
Returns true if the (X,Y) coordinates of the specified point lie inside the (X,Y) extents of the tria...
Definition: triangle3i.h:34
#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
KyUInt32 IsInside2d(const Vec2i &M) const
Returns true if the (X,Y) coordinates of the specified point lie inside the (X,Y) extents of the tria...
Definition: triangle3i.h:30
2d vector using KyInt32
Definition: vec2i.h:18
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
std::int32_t KyInt32
int32_t
Definition: types.h:24
3d triangle of 32bits integer points
Definition: triangle3i.h:15
bool IsStrictlyInside2d(const Vec2i &M) const
Returns true if the (X,Y) coordinates of the specified point lie strictly inside the (X...
Definition: triangle3i.h:37