Move Vectormath main
C++20 game and graphics mathematics
Loading...
Searching...
No Matches
mv::math::TrsTransform3< T > Class Template Reference

#include <mv/math/transforms/TrsTransform3.hpp>

Public Types

using Component = T
 

Public Member Functions

 TrsTransform3 () noexcept=default
 
 TrsTransform3 (const Vec3< T > &translation, const Rotation3< T > &rotation, const Vec3< T > &scale) noexcept
 
const Vec3< T > & Translation () const noexcept
 
const Rotation3< T > & Rotation () const noexcept
 
const Vec3< T > & Scale () const noexcept
 
AffineTransform3< T > ToAffine () const noexcept
 

Static Public Member Functions

static TrsTransform3 Identity () noexcept
 

Detailed Description

template<typename T>
requires std::is_floating_point_v<T>
class mv::math::TrsTransform3< T >

Definition at line 16 of file TrsTransform3.hpp.

Member Typedef Documentation

◆ Component

template<typename T >
using mv::math::TrsTransform3< T >::Component = T

Definition at line 19 of file TrsTransform3.hpp.

Constructor & Destructor Documentation

◆ TrsTransform3() [1/2]

template<typename T >
mv::math::TrsTransform3< T >::TrsTransform3 ( )
defaultnoexcept

◆ TrsTransform3() [2/2]

template<typename T >
mv::math::TrsTransform3< T >::TrsTransform3 ( const Vec3< T > &  translation,
const Rotation3< T > &  rotation,
const Vec3< T > &  scale 
)
inlinenoexcept

Definition at line 23 of file TrsTransform3.hpp.

Member Function Documentation

◆ Identity()

template<typename T >
static TrsTransform3 mv::math::TrsTransform3< T >::Identity ( )
inlinestaticnoexcept

Definition at line 30 of file TrsTransform3.hpp.

◆ Rotation()

template<typename T >
const Rotation3< T > & mv::math::TrsTransform3< T >::Rotation ( ) const
inlinenoexcept

Definition at line 40 of file TrsTransform3.hpp.

◆ Scale()

template<typename T >
const Vec3< T > & mv::math::TrsTransform3< T >::Scale ( ) const
inlinenoexcept

Definition at line 45 of file TrsTransform3.hpp.

◆ ToAffine()

template<typename T >
AffineTransform3< T > mv::math::TrsTransform3< T >::ToAffine ( ) const
inlinenoexcept

Definition at line 50 of file TrsTransform3.hpp.

◆ Translation()

template<typename T >
const Vec3< T > & mv::math::TrsTransform3< T >::Translation ( ) const
inlinenoexcept

Definition at line 35 of file TrsTransform3.hpp.


The documentation for this class was generated from the following file: