LightsprintSDK 2021.08.08
|
#include <RRMesh.h>
Public Member Functions | |
void | buildBasisFromNormal () |
Public Attributes | |
RRVec3 | normal |
RRVec3 | tangent |
RRVec3 | bitangent |
Tangent basis in object space.
Normal must be normalized. Orthonormality is not mandatory. Tangent and bitangent affect only directional lightmaps.
void rr::RRMesh::TangentBasis::buildBasisFromNormal | ( | ) |
Build orthonormal base from normalized normal.
RRVec3 rr::RRMesh::TangentBasis::normal |
RRVec3 rr::RRMesh::TangentBasis::tangent |
RRVec3 rr::RRMesh::TangentBasis::bitangent |