CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
Math::TOffset3< T > Struct Template Referencefinal

3-Dimensional offset structure. More...

#include <CeresEngine/Math/Offset.hpp>

Public Member Functions

constexpr TOffset3 () noexcept=default
 
constexpr TOffset3 (const TOffset3 &) noexcept=default
 
constexpr TOffset3operator= (const TOffset3 &) noexcept=default
 
constexpr TOffset3 (T x, T y, T z)
 
template<typename TT >
constexpr TOffset3 (TOffset3< TT > other) noexcept
 
template<typename TT >
constexpr TOffset3 (TOffset2< TT > other, T z) noexcept
 

Public Attributes

x = 0
 Offset X axis.
 
y = 0
 Offset Y axis.
 
z = 0
 Offset Z axis.
 

Detailed Description

template<typename T>
struct Math::TOffset3< T >

3-Dimensional offset structure.

Remarks
Used for signed integral 3D offsets (for coordinates in texture-space).

Constructor & Destructor Documentation

◆ TOffset3() [1/5]

template<typename T >
constexpr Math::TOffset3< T >::TOffset3 ( )
constexprdefaultnoexcept

◆ TOffset3() [2/5]

template<typename T >
constexpr Math::TOffset3< T >::TOffset3 ( const TOffset3< T > &  )
constexprdefaultnoexcept

◆ TOffset3() [3/5]

template<typename T >
constexpr Math::TOffset3< T >::TOffset3 ( x,
y,
z 
)
inlineconstexpr

◆ TOffset3() [4/5]

template<typename T >
template<typename TT >
constexpr Math::TOffset3< T >::TOffset3 ( TOffset3< TT >  other)
inlineexplicitconstexprnoexcept

◆ TOffset3() [5/5]

template<typename T >
template<typename TT >
constexpr Math::TOffset3< T >::TOffset3 ( TOffset2< TT >  other,
z 
)
inlineexplicitconstexprnoexcept

Member Function Documentation

◆ operator=()

template<typename T >
constexpr TOffset3 & Math::TOffset3< T >::operator= ( const TOffset3< T > &  )
constexprdefaultnoexcept

Member Data Documentation

◆ x

template<typename T >
T Math::TOffset3< T >::x = 0

Offset X axis.

◆ y

template<typename T >
T Math::TOffset3< T >::y = 0

Offset Y axis.

◆ z

template<typename T >
T Math::TOffset3< T >::z = 0

Offset Z axis.


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