gwnavruntime/math/triangle3f.h Source File
Go to the documentation of this file.
9 #ifndef Navigation_Triangle3f_H
10 #define Navigation_Triangle3f_H
52 SwapEndianness(e,
self.A);
53 SwapEndianness(e,
self.B);
54 SwapEndianness(e,
self.C);
Vec3f & operator[](KyInt32 i)
Retrieves the coordinates of the specified corner of the triangle. Use only [0], [1], or [2].
Definition: triangle3f.h:41
Vec3f B
The position of the second corner of the triangle.
Definition: triangle3f.h:54
This class represents a triangle in three-dimensional space, whose dimensions are stored using float ...
Definition: triangle3f.h:22
int KyInt32
Type used internally to represent a 32-bit integer.
Definition: types.h:35
void Set(const Vec3f &_a, const Vec3f &_b, const Vec3f &_c)
Sets the coordinates of the three points that make up the triangle.
Definition: triangle3f.h:38
Target
Enumerates the possible endianness types relative to the current platform.
Definition: endianness.h:35
Vec3f A
The position of the first corner of the triangle.
Definition: triangle3f.h:53
Definition: gamekitcrowddispersion.h:20
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:137
Vec3f C
The position of the third corner of the triangle.
Definition: triangle3f.h:55
This class defines a three-dimensional vector whose coordinates are stored using floating-point numbe...
Definition: vec3f.h:23