Go to the source code of this file.
Functions | |
| Vector3 | operator+ (const Vector3 &lhs, const Vector3 &rhs) |
| Basic operations. | |
| Vector3 | operator- (const Vector3 &lhs, const Vector3 &rhs) |
| Vector3 | operator- (const Vector3 &v) |
| Vector3 | operator * (const Vector3 &lhs, Real rhs) |
| Vector3 | operator * (Real lhs, const Vector3 &rhs) |
| Vector3 | operator/ (const Vector3 &lhs, Real rhs) |
| Vector3 & | operator+= (Vector3 &lhs, const Vector3 &rhs) |
| Vector3 & | operator-= (Vector3 &lhs, const Vector3 &rhs) |
| Vector3 & | operator *= (Vector3 &lhs, Real rhs) |
| Vector3 & | operator/= (Vector3 &lhs, Real rhs) |
| Real | operator * (const Vector3 &lhs, const Vector3 &rhs) |
| Dot product. | |
| Vector3 | operator^ (const Vector3 &lhs, const Vector3 &rhs) |
| bool | feq (const Vector3 &a, const Vector3 &b, Real e) |
| Equal: a == b. | |
| bool | fneq (const Vector3 &a, const Vector3 &b, Real e) |
| Not equal: a != b. | |
| bool | fz (const Vector3 &a, Real e) |
| Zero: a == 0. | |
| bool | fnz (const Vector3 &a, Real e) |
| Not zero: a != 0. | |
|
||||||||||||||||
|
Equal: a == b.
Definition at line 205 of file vector3.inl. References sheep::feq(), sheep::Vector3::m_x, sheep::Vector3::m_y, and sheep::Vector3::m_z. Referenced by build_basis(), fge(), fle(), and fneq(). |
|
||||||||||||||||
|
Not equal: a != b.
Definition at line 213 of file vector3.inl. References sheep::fneq(), sheep::Vector3::m_x, sheep::Vector3::m_y, and sheep::Vector3::m_z. |
|
||||||||||||
|
Not zero: a != 0.
Definition at line 229 of file vector3.inl. References sheep::fnz(), sheep::Vector3::m_x, sheep::Vector3::m_y, and sheep::Vector3::m_z. Referenced by toxic::PhotonMap::ApproximateRadiance(), and toxic::PhotonMap::ComputeRadiance(). |
|
||||||||||||
|
Zero: a == 0.
Definition at line 221 of file vector3.inl. References sheep::fz(), sheep::Vector3::m_x, sheep::Vector3::m_y, and sheep::Vector3::m_z. Referenced by build_basis(). |
|
||||||||||||
|
Dot product.
Definition at line 189 of file vector3.inl. References sheep::Vector3::m_x, sheep::Vector3::m_y, and sheep::Vector3::m_z. |
|
||||||||||||
|
Definition at line 133 of file vector3.inl. References sheep::Vector3::m_x, sheep::Vector3::m_y, and sheep::Vector3::m_z. |
|
||||||||||||
|
Definition at line 125 of file vector3.inl. References sheep::Vector3::m_x, sheep::Vector3::m_y, and sheep::Vector3::m_z. |
|
||||||||||||
|
Definition at line 169 of file vector3.inl. References sheep::Vector3::m_x, sheep::Vector3::m_y, and sheep::Vector3::m_z. |
|
||||||||||||
|
Basic operations.
Definition at line 104 of file vector3.inl. References sheep::Vector3::m_x, sheep::Vector3::m_y, and sheep::Vector3::m_z. |
|
||||||||||||
|
Definition at line 151 of file vector3.inl. References sheep::Vector3::m_x, sheep::Vector3::m_y, and sheep::Vector3::m_z. |
|
|
Definition at line 120 of file vector3.inl. References sheep::Vector3::m_x, sheep::Vector3::m_y, and sheep::Vector3::m_z. |
|
||||||||||||
|
Definition at line 112 of file vector3.inl. References sheep::Vector3::m_x, sheep::Vector3::m_y, and sheep::Vector3::m_z. |
|
||||||||||||
|
Definition at line 160 of file vector3.inl. References sheep::Vector3::m_x, sheep::Vector3::m_y, and sheep::Vector3::m_z. |
|
||||||||||||
|
Definition at line 141 of file vector3.inl. References sheep::Vector3::m_x, sheep::Vector3::m_y, and sheep::Vector3::m_z. |
|
||||||||||||
|
Definition at line 178 of file vector3.inl. References sheep::Vector3::m_x, sheep::Vector3::m_y, and sheep::Vector3::m_z. |
|
||||||||||||
|
Cross product. Be careful: the ^ operator has a very low priority. In consequence, it would be wise to embrace every cross product into parenthesis to avoid unpredictable results. Definition at line 197 of file vector3.inl. References sheep::Vector3::m_x, sheep::Vector3::m_y, and sheep::Vector3::m_z. |
1.3.6