le3d - LightEngine 3D
A straightforward C++ 3D software engine for real-time graphics
|
Represent a vertex in 3D space. More...
#include <geometry_scalar.h>
Public Member Functions | |
LeVertex () | |
LeVertex (float px, float py, float pz) | |
LeVertex | operator+ (LeVertex v) const |
LeVertex | operator+= (LeVertex v) |
LeVertex | operator- (LeVertex v) const |
LeVertex | operator- () const |
LeVertex | operator-= (LeVertex v) |
LeVertex | operator* (LeVertex v) const |
LeVertex | operator/ (LeVertex v) const |
LeVertex | operator* (float v) const |
LeVertex | operator/ (float v) const |
LeVertex | operator*= (LeVertex v) |
LeVertex | operator/= (LeVertex v) |
LeVertex | operator*= (float v) |
LeVertex | operator/= (float v) |
bool | operator== (LeVertex v) |
float | dot (LeVertex v) const |
LeVertex | cross (LeVertex v) const |
LeVertex | sign () const |
LeVertex | round () const |
LeVertex | floor () const |
LeVertex | normalize () |
float | norm () const |
Static Public Member Functions | |
static LeVertex | spherical (float azi, float inc, float dist) |
Public Attributes | |
float | x |
float | y |
float | z |
float | w |
Represent a vertex in 3D space.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
float LeVertex::w |
float LeVertex::x |
float LeVertex::y |
float LeVertex::z |