#include <triangle3f.h>
This class represents a triangle in three-dimensional space, whose dimensions are stored using float values.
This class is used primarily for sending blobs containing triangle information.
Public Member Functions | |
void | Set (const Vec3f &_a, const Vec3f &_b, const Vec3f &_c) |
Vec3f & | operator[] (KyInt32 i) |
const Vec3f & | operator[] (KyInt32 i) const |
Public Data Members | |
Vec3f | A |
Vec3f | B |
Vec3f | C |
Retrieves the coordinates of the specified corner of the triangle. Use only [0], [1], or [2].
Retrieves the coordinates of the specified corner of the triangle. Use only [0], [1], or [2].
Sets the coordinates of the three points that make up the triangle.
_a | The coordinates of the first corner of the triangle. |
_b | The coordinates of the second corner of the triangle. |
_c | The coordinates of the third corner of the triangle. |
Vec3f Kaim::Triangle3f::A |
The position of the first corner of the triangle.
Vec3f Kaim::Triangle3f::B |
The position of the second corner of the triangle.
Vec3f Kaim::Triangle3f::C |
The position of the third corner of the triangle.