Mountain  1.0.0
Simple C++ 2D Game Framework
Mountain::Rectangle Class Reference
+ Collaboration diagram for Mountain::Rectangle:

Public Member Functions

constexpr Rectangle (Vector2 size)
 
constexpr Rectangle (Vector2 position, Vector2 size)
 
constexpr float Left () const
 
constexpr float Right () const
 
constexpr float Top () const
 
constexpr float Bottom () const
 
constexpr Vector2 Center () const
 
constexpr Vector2 TopLeft () const
 
constexpr Vector2 TopRight () const
 
constexpr Vector2 BottomLeft () const
 
constexpr Vector2 BottomRight () const
 
constexpr float Width () const
 
constexpr float Height () const
 

Public Attributes

Vector2 position
 
Vector2 size
 

Detailed Description

Definition at line 9 of file rectangle.hpp.


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