Function wt::util::rotation_matrix(const dir3_t&, const Angle auto)

Function Documentation

inline auto wt::util::rotation_matrix(const dir3_t &d, const Angle auto angle) noexcept

Builds a 3d rotation matrix that rotates around an axis d by angle angle.