Free Electron
|
Evaluate barycenter on triangle of surface using MatrixPower. More...
#include <TrianglePower.h>
Public Member Functions | |
void | configure (const Vector< 3, T > &v0, const Vector< 3, T > &v1, const Vector< 3, T > &v2, const Vector< 3, T > &n0, const Vector< 3, T > &n1, const Vector< 3, T > &n2) |
void | solve (const Barycenter< T > &barycenter, Vector< 3, T > &v, Vector< 3, T > &n) const |
void | setIterations (U32 iterations) |
Private Member Functions | |
void | calcFrames (Matrix< 3, 4, T > &a_rTransform1, Matrix< 3, 4, T > &a_rTransform2, const Vector< 3, T > &a_rDirection, const Vector< 3, T > &a_rVertex1, const Vector< 3, T > &a_rNormal1, const Vector< 3, T > &a_rVertex2, const Vector< 3, T > &a_rNormal2) const |
Private Attributes | |
MatrixPower< Matrix< 3, 4, T > > | m_matrixPower |
Matrix< 3, 4, T > | m_frame0 |
Matrix< 3, 4, T > | m_delta01 |
Vector< 3, T > | m_direction |
Vector< 3, T > | m_v2 |
Vector< 3, T > | m_n2 |
Evaluate barycenter on triangle of surface using MatrixPower.