CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
Rect.hpp File Reference

Go to the source code of this file.

Classes

struct  Math::TSize2< T >
 A structure that contains width and height values. More...
 
struct  Math::TRect2Edge< T >
 
struct  Math::TRect2< T >
 Represents a 2D rectangle using real values. More...
 
struct  Math::TAffineTransform< T >
 An affine transformation matrix for use in drawing 2D graphics. More...
 

Namespaces

namespace  Math
 

Typedefs

template<typename T >
using Math::TPoint2 = TVector2< T >
 A type that contains a point in a two-dimensional coordinate system.
 
using Math::Point2 = TPoint2< double >
 A type that contains a point in a two-dimensional coordinate system.
 
using Math::Size2 = TSize2< double >
 A structure that contains width and height values.
 
using Math::Rect2Edge = TRect2Edge< double >
 
using Math::Rect2 = TRect2< double >
 Represents a 2D rectangle using real values.
 
using Math::AffineTransform = TAffineTransform< double >
 An affine transformation matrix for use in drawing 2D graphics.
 

Functions

template<typename T >
constexpr T Math::MinX (const TRect2< T > &rect)
 
template<typename T >
constexpr T Math::MinY (const TRect2< T > &rect)
 
template<typename T >
constexpr T Math::Width (const TRect2< T > &rect)
 
template<typename T >
constexpr T Math::Height (const TRect2< T > &rect)
 
template<typename T >
constexpr T Math::MaxX (const TRect2< T > &rect)
 
template<typename T >
constexpr T Math::MaxY (const TRect2< T > &rect)
 
template<typename T >
constexpr T Math::MidX (const TRect2< T > &rect)
 
template<typename T >
constexpr T Math::MidY (const TRect2< T > &rect)