Move Vectormath main
C++20 game and graphics mathematics
Loading...
Searching...
No Matches
TransformConversions.hpp File Reference
#include <optional>
#include <type_traits>
#include <mv/math/Mat4.hpp>
#include <mv/math/Tolerance.hpp>
#include <mv/math/transforms/AffineTransform3Semantics.hpp>
#include <mv/math/transforms/TrsTransform3.hpp>

Go to the source code of this file.

Namespaces

namespace  mv
 
namespace  mv::math
 

Functions

template<typename T >
Mat4< T > mv::math::ToMat4 (const AffineTransform3< T > &transform) noexcept
 
template<typename T >
Mat4< T > mv::math::ToMat4 (const RigidTransform3< T > &transform) noexcept
 
template<typename T >
Mat4< T > mv::math::ToMat4 (const TrsTransform3< T > &transform) noexcept
 
template<typename T >
std::optional< AffineTransform3< T > > mv::math::TryToAffine (const Mat4< T > &matrix, Tolerance< T > tolerance=Tolerance< T >::Default()) noexcept
 
template<typename T >
std::optional< RigidTransform3< T > > mv::math::TryToRigid (const AffineTransform3< T > &transform, Tolerance< T > tolerance=Tolerance< T >::Default()) noexcept
 
template<typename T >
std::optional< RigidTransform3< T > > mv::math::TryToRigid (const Mat4< T > &matrix, Tolerance< T > tolerance=Tolerance< T >::Default()) noexcept