jaulib v1.4.0-2-g788cf73
Jau Support Library (C++, Java, ..)
Loading...
Searching...
No Matches
quaternion.hpp File Reference
#include <cmath>
#include <concepts>
#include <cstdarg>
#include <iostream>
#include <limits>
#include <string>
#include <jau/float_math.hpp>
#include <jau/math/mat4f.hpp>
#include <jau/math/vec3f.hpp>
#include <jau/type_concepts.hpp>
Include dependency graph for quaternion.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  jau::math::Quaternion< Value_type >
 Quaternion implementation supporting Gimbal-Lock free rotations. More...
 

Namespaces

namespace  jau
 __pack(...): Produces MSVC, clang and gcc compatible lead-in and -out macros.
 
namespace  jau::math
 

Typedefs

typedef Quaternion< float > jau::math::Quat4f
 

Functions

template<std::floating_point T>
constexpr Quaternion< T > jau::math::operator* (const Quaternion< T > &lhs, const Quaternion< T > &rhs) noexcept
 
template<std::floating_point T>
constexpr Quaternion< T > jau::math::operator* (const Quaternion< T > &lhs, const T s) noexcept
 
template<std::floating_point T>
constexpr Quaternion< T > jau::math::operator* (const T s, const Quaternion< T > &rhs) noexcept
 
template<std::floating_point T>
constexpr Quaternion< T > jau::math::operator+ (const Quaternion< T > &lhs, const Quaternion< T > &rhs) noexcept
 
template<std::floating_point T>
constexpr Quaternion< T > jau::math::operator- (const Quaternion< T > &lhs, const Quaternion< T > &rhs) noexcept
 
template<std::floating_point T>
std::ostream & jau::math::operator<< (std::ostream &out, const Quaternion< T > &v) noexcept