CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
Extent.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::TExtent2< T >
 2-Dimensional extent structure. More...
 
struct  Math::TExtent3< T >
 3-Dimensional extent structure. More...
 

Namespaces

namespace  Math
 

Typedefs

using Math::Extent2 = TExtent2< double >
 2-Dimensional extent structure.
 
using Math::Extent2f = TExtent2< float >
 2-Dimensional extent structure.
 
using Math::Extent2UI = TExtent2< UInt32 >
 2-Dimensional extent structure.
 
using Math::Extent3 = TExtent3< double >
 3-Dimensional extent structure.
 
using Math::Extent3f = TExtent3< float >
 3-Dimensional extent structure.
 

Functions

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