CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
Offset.hpp File Reference
#include "CeresEngine/DataTypes.hpp"
#include "CeresEngine/Macros.hpp"
#include "CeresEngine/Foundation/Hash.hpp"
#include <cstdint>

Go to the source code of this file.

Classes

struct  Math::TOffset2< T >
 2-Dimensional offset structure. More...
 
struct  Math::TOffset3< T >
 3-Dimensional offset structure. More...
 

Namespaces

namespace  Math
 

Typedefs

using Math::Offset2 = TOffset2< double >
 2-Dimensional offset structure.
 
using Math::Offset2f = TOffset2< float >
 2-Dimensional offset structure.
 
using Math::Offset3 = TOffset3< double >
 3-Dimensional offset structure.
 
using Math::Offset3f = TOffset3< float >
 3-Dimensional offset structure.
 

Functions

template<typename T >
constexpr TOffset2< T > Math::operator+ (const TOffset2< T > &lhs, const TOffset2< T > &rhs) noexcept
 Returns the sum of left hand side offset 'lhs' and the right hand side offset 'rhs'.
 
template<typename T >
constexpr TOffset2< T > Math::operator- (const TOffset2< T > &lhs, const TOffset2< T > &rhs) noexcept
 Returns the subtraction of left hand side offset 'lhs' and the right hand side offset 'rhs'.
 
template<typename T >
constexpr TOffset3< T > Math::operator+ (const TOffset3< T > &lhs, const TOffset3< T > &rhs) noexcept
 Returns the sum of left hand side offset 'lhs' and the right hand side offset 'rhs'.
 
template<typename T >
constexpr TOffset3< T > Math::operator- (const TOffset3< T > &lhs, const TOffset3< T > &rhs) noexcept
 Returns the subtraction of left hand side offset 'lhs' and the right hand side offset 'rhs'.
 
template<typename T >
constexpr bool Math::operator== (const TOffset2< T > &lhs, const TOffset2< T > &rhs) noexcept
 Returns true if the left hand side offset 'lhs' is equal to the right hand side offset 'rhs'.
 
template<typename T >
constexpr bool Math::operator!= (const TOffset2< T > &lhs, const TOffset2< T > &rhs) noexcept
 Returns true if the left hand side offset 'lhs' is unequal to the right hand side offset 'rhs'.
 
template<typename T >
constexpr bool Math::operator== (const TOffset3< T > &lhs, const TOffset3< T > &rhs) noexcept
 Returns true if the left hand side offset 'lhs' is equal to the right hand side offset 'rhs'.
 
template<typename T >
constexpr bool Math::operator!= (const TOffset3< T > &lhs, const TOffset3< T > &rhs) noexcept
 Returns true if the left hand side offset 'lhs' is unequal to the right hand side offset 'rhs'.