Move Vectormath main
C++20 game and graphics mathematics
Loading...
Searching...
No Matches
Quat.hpp File Reference
#include <algorithm>
#include <cmath>
#include <optional>
#include <type_traits>
#include <mv/math/Tolerance.hpp>

Go to the source code of this file.

Classes

class  mv::math::Quat< T >
 

Namespaces

namespace  mv
 
namespace  mv::math
 

Typedefs

using mv::math::Quatf = Quat< float >
 
using mv::math::Quatd = Quat< double >
 

Functions

template<typename T >
constexpr T mv::math::Dot (const Quat< T > &left, const Quat< T > &right) noexcept
 
template<typename T >
constexpr T mv::math::LengthSquared (const Quat< T > &value) noexcept
 
template<typename T >
T mv::math::Length (const Quat< T > &value) noexcept
 
template<typename T >
std::optional< Quat< T > > mv::math::TryNormalize (const Quat< T > &value) noexcept
 
template<typename T >
std::optional< Quat< T > > mv::math::TryInverse (const Quat< T > &value) noexcept
 
template<typename T >
bool mv::math::IsNearlyEqual (const Quat< T > &left, const Quat< T > &right, Tolerance< T > tolerance=Tolerance< T >::Default()) noexcept