#include <math/ONB.h>
Public Member Functions | |
| ONB (const Vector3 &a, const Vector3 &b, const Vector3 &c) | |
| void | initFromU (const Vector3 &u) |
| void | initFromV (const Vector3 &v) |
| void | initFromW (const Vector3 &w) |
| void | set (const Vector3 &a, const Vector3 &b, const Vector3 &c) |
| void | initFromUV (const Vector3 &u, const Vector3 &v) |
| void | initFromVU (const Vector3 &v, const Vector3 &u) |
| void | initFromUW (const Vector3 &u, const Vector3 &w) |
| void | initFromWU (const Vector3 &w, const Vector3 &u) |
| void | initFromVW (const Vector3 &v, const Vector3 &w) |
| void | initFromWV (const Vector3 &w, const Vector3 &v) |
| Vector3 | u () const |
| Vector3 | v () const |
| Vector3 | w () const |
Public Attributes | |
| Vector3 | U |
| Vector3 | V |
| Vector3 | W |
The vectors of the basis are U, V and W respectively. For shading operations, W is conventially the surface normal while U and V represent the surface derivatives.
1.4.3