#include <Homogenous.h>
Public Member Functions | |
Homogenous () | |
Homogenous (float x, float y, float z=0.0, float w=1.0) | |
Homogenous | operator+ (const Homogenous &hc) const |
Homogenous | operator- (const Homogenous &hc) const |
float | operator* (const Homogenous &hc) const |
Homogenous | operator% (const Homogenous &hc) const |
Homogenous & | operator+= (const Homogenous &hc) |
Homogenous & | operator-= (const Homogenous &hc) |
Homogenous & | operator*= (float lambda_xyz) |
Homogenous & | operator/= (float lambda_xyz) |
Homogenous & | operator%= (const Homogenous &hc) |
float | Magnitude () const |
void | Normalize () |
Public Attributes | |
float | x |
float | y |
float | z |
float | w |
Homogenous::Homogenous | ( | ) | [inline] |
Homogenous::Homogenous | ( | float | x, | |
float | y, | |||
float | z = 0.0 , |
|||
float | w = 1.0 | |||
) | [inline] |
float Homogenous::Magnitude | ( | ) | const [inline] |
void Homogenous::Normalize | ( | ) | [inline] |
Homogenous Homogenous::operator% | ( | const Homogenous & | hc | ) | const [inline] |
Homogenous& Homogenous::operator%= | ( | const Homogenous & | hc | ) | [inline] |
float Homogenous::operator* | ( | const Homogenous & | hc | ) | const [inline] |
Homogenous& Homogenous::operator*= | ( | float | lambda_xyz | ) | [inline] |
Homogenous Homogenous::operator+ | ( | const Homogenous & | hc | ) | const [inline] |
Homogenous& Homogenous::operator+= | ( | const Homogenous & | hc | ) | [inline] |
Homogenous Homogenous::operator- | ( | const Homogenous & | hc | ) | const [inline] |
Homogenous& Homogenous::operator-= | ( | const Homogenous & | hc | ) | [inline] |
Homogenous& Homogenous::operator/= | ( | float | lambda_xyz | ) | [inline] |
float Homogenous::w |
float Homogenous::x |
float Homogenous::y |
float Homogenous::z |