![]() |
Kochol Game Engine
0.1.0
|
3D Vertex More...
#include <Structs.h>
Public Member Functions | |
Vertex3 () | |
Vertex3 (float x, float y, float z) | |
void | Transform4 (math::Matrix *mat) |
void | Transform3 (math::Matrix *mat) |
Vertex3 | operator- (const Vertex3 &o) const |
Vertex3 | operator+ (const Vertex3 &o) const |
Vertex3 | operator* (const float &f) const |
void | Normalize () |
kge::math::Vector | ToVector () |
void | Cross (const Vertex3 &v1, const Vertex3 &v2) |
Public Attributes | |
float | X |
float | Y |
float | Z |
3D Vertex
Az Vertex baraye moshakhas kardane noghat to faza estefade mishe.
|
inline |
|
inline |
Definition at line 142 of file Structs.h.
Referenced by kge::gfx::CalcTangent(), and kge::gfx::RecalculateNormals_Smooth().
|
inline |
|
inline |
Definition at line 153 of file Structs.h.
References kge::math::Vector::x, X, kge::math::Vector::y, Y, kge::math::Vector::z, and Z.
Referenced by kge::math::Triangle::IntersectRay().
|
inline |
|
inline |
float kge::gfx::Vertex3::X |
X
Definition at line 54 of file Structs.h.
Referenced by Cross(), Normalize(), operator*(), operator+(), operator-(), kge::gfx::RecalculateNormals_Smooth(), ToVector(), Transform3(), and Transform4().
float kge::gfx::Vertex3::Y |
Y
Definition at line 55 of file Structs.h.
Referenced by Cross(), Normalize(), operator*(), operator+(), operator-(), kge::gfx::RecalculateNormals_Smooth(), ToVector(), Transform3(), and Transform4().
float kge::gfx::Vertex3::Z |
Z
Definition at line 56 of file Structs.h.
Referenced by Cross(), Normalize(), operator*(), operator+(), operator-(), kge::gfx::RecalculateNormals_Smooth(), ToVector(), Transform3(), and Transform4().