|
|
template<floating_point Other = value_type> |
| constexpr | basic_quaternion (Other value=Other{0}) noexcept |
| |
|
template<floating_point Complex = value_type, floating_point Scalar = value_type> |
| constexpr | basic_quaternion (const vector_type_for< Complex > &complex, Scalar scalar) noexcept |
| |
|
template<floating_point Other = value_type> |
| constexpr | basic_quaternion (const vector_type_for< Other > &euler_angles) noexcept |
| |
|
template<floating_point Other = value_type> |
| constexpr | basic_quaternion (Other x, Other y, Other z, Other w) noexcept |
| |
|
template<floating_point Complex = value_type, floating_point Scalar = value_type> |
| constexpr | basic_quaternion (const vector_type_for< Complex > &axis, const basic_angle< Scalar > &angle) noexcept |
| |
|
template<floating_point Other = value_type> |
| constexpr | basic_quaternion (const basic_matrix4x4< Other > &matrix) noexcept |
| |
|
template<floating_point Other = value_type> |
| constexpr | basic_quaternion (const basic_matrix3x3< Other > &matrix) noexcept |
| |
|
template<floating_point Other = value_type> |
| constexpr auto | operator+= (const basic_quaternion< Other > &other) noexcept -> basic_quaternion & |
| |
|
template<floating_point Other = value_type> |
| constexpr auto | operator-= (const basic_quaternion< Other > &other) noexcept -> basic_quaternion & |
| |
|
template<floating_point Other = value_type> |
| constexpr auto | operator*= (Other value) noexcept -> basic_quaternion & |
| |
|
template<floating_point Other = value_type> |
| constexpr auto | operator*= (const basic_quaternion< Other > &other) noexcept -> basic_quaternion & |
| |
|
template<floating_point Other = value_type> |
| constexpr auto | operator/= (Other value) noexcept -> basic_quaternion & |
| |
|
constexpr auto | x () noexcept -> reference |
| |
|
constexpr auto | x () const noexcept -> const_reference |
| |
|
constexpr auto | y () noexcept -> reference |
| |
|
constexpr auto | y () const noexcept -> const_reference |
| |
|
constexpr auto | z () noexcept -> reference |
| |
|
constexpr auto | z () const noexcept -> const_reference |
| |
|
constexpr auto | w () noexcept -> reference |
| |
|
constexpr auto | w () const noexcept -> const_reference |
| |
|
constexpr auto | complex () noexcept -> vector_type & |
| |
|
constexpr auto | complex () const noexcept -> const vector_type & |
| |
|
constexpr auto | scalar () noexcept -> reference |
| |
|
constexpr auto | scalar () const noexcept -> const_reference |
| |
|
constexpr auto | length_squared () const noexcept -> length_type |
| |
|
constexpr auto | length () const noexcept -> length_type |
| |
|
constexpr auto | normalize () noexcept -> basic_quaternion & |
| |