Function coal::constructOrthonormalBasisFromVector

Function Documentation

inline Matrix3s coal::constructOrthonormalBasisFromVector(const Vec3s &vec)

Construct othonormal basis from vector. The z-axis is the normalized input vector.