transform Namespace
Definition
namespace helios::math::transform { ... }
Functions Index
| constexpr mat4f | make_rodrigues_rotation_matrix (const float cos_theta, const float sin_theta, const vec3f &normalized_axis) noexcept |
Functions
make_rodrigues_rotation_matrix()
| constexpr noexcept |
Definition at line 15 of file model.ixx.
15 constexpr mat4f make_rodrigues_rotation_matrix(
16 const float cos_theta,
17 const float sin_theta,
18 const vec3f& normalized_axis
19 ) noexcept {
20
22
23 const float x = normalized_axis[0],
24 y = normalized_axis[1],
25 z = normalized_axis[2];
26
27
28 return mat4f{
32 0,
33
37 0,
38
42 0,
43
44 0, 0, 0, 1
45 };
46 };
Referenced by helios::math::rotate.
The documentation for this namespace was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.