gwnavruntime/visualsystem/visualprimitives.h Source File
Go to the documentation of this file.
9 #ifndef Navigation_VisualTriangle_H
10 #define Navigation_VisualTriangle_H
38 VisualLine() : m_width(1.f) {}
39 VisualLine(
const Vec3f& defA,
const Vec3f& defB,
const VisualColor& color,
KyFloat32 width = 1.f)
40 : A(defA), B(defB), m_color(color), m_width(width) {}
51 VisualText() : m_text(
KY_NULL), m_length(0) {}
52 VisualText(
const char* text,
KyUInt32 length,
const Vec3f& defA,
const VisualColor& color)
53 : m_text(text), m_pos(defA), m_length(length), m_color(color) {}
Represents a single triangle that can be rendered by a class that derives from IVisualGeometry.
Definition: visualprimitives.h:21
Vec3f B
The second point in the triangle.
Definition: visualprimitives.h:30
#define KY_NULL
Null value.
Definition: types.h:247
Represents a single RGBA color.
Definition: visualcolor.h:19
Definition: gamekitcrowddispersion.h:20
Vec3f m_normal
The normal of the front face of the triangle.
Definition: visualprimitives.h:32
Vec3f C
The third point in the triangle.
Definition: visualprimitives.h:31
unsigned int KyUInt32
Type used internally to represent an unsigned 32-bit integer.
Definition: types.h:36
VisualColor m_color
The color that should be used to render the triangle.
Definition: visualprimitives.h:33
float KyFloat32
Type used internally to represent a 32-bit floating-point number.
Definition: types.h:43
This class defines a three-dimensional vector whose coordinates are stored using floating-point numbe...
Definition: vec3f.h:23
Vec3f A
The first point in the triangle.
Definition: visualprimitives.h:29