StarEngine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
star::Rect Class Reference

#include <Rect.h>

Collaboration diagram for star::Rect:
Collaboration graph

Public Member Functions

 Rect ()
 
 Rect (const vec2 &leftBottom, const vec2 &rightBottom, const vec2 &leftTop, const vec2 &rightTop)
 
Rect operator= (const Rect &yRef)
 
Rect operator* (glm::mat4x4 matrix) const
 
Rectoperator*= (glm::mat4x4 matrix)
 
float GetWidth () const
 
float GetHeight () const
 
float GetDiagonal () const
 
const vec2 & GetLeftTop () const
 
const vec2 & GetRightTop () const
 
const vec2 & GetLeftBottom () const
 
const vec2 & GetRightBottom () const
 
float GetRealLeft () const
 
float GetRealRight () const
 
float GetRealTop () const
 
float GetRealBottom () const
 
void SetPoints (const vec2 &leftBottom, const vec2 &rightBottom, const vec2 &leftTop, const vec2 &rightTop)
 
void SetLeftTop (const vec2 &pos)
 
void SetLeftBottom (const vec2 &pos)
 
void SetRightTop (const vec2 &pos)
 
void SetRightBottom (const vec2 &pos)
 

Constructor & Destructor Documentation

star::Rect::Rect ( )
star::Rect::Rect ( const vec2 &  leftBottom,
const vec2 &  rightBottom,
const vec2 &  leftTop,
const vec2 &  rightTop 
)

Member Function Documentation

float star::Rect::GetDiagonal ( ) const
float star::Rect::GetHeight ( ) const
const vec2 & star::Rect::GetLeftBottom ( ) const
const vec2 & star::Rect::GetLeftTop ( ) const
float star::Rect::GetRealBottom ( ) const
float star::Rect::GetRealLeft ( ) const
float star::Rect::GetRealRight ( ) const
float star::Rect::GetRealTop ( ) const
const vec2 & star::Rect::GetRightBottom ( ) const
const vec2 & star::Rect::GetRightTop ( ) const
float star::Rect::GetWidth ( ) const
Rect star::Rect::operator* ( glm::mat4x4  matrix) const
Rect & star::Rect::operator*= ( glm::mat4x4  matrix)
Rect star::Rect::operator= ( const Rect yRef)
void star::Rect::SetLeftBottom ( const vec2 &  pos)
void star::Rect::SetLeftTop ( const vec2 &  pos)
void star::Rect::SetPoints ( const vec2 &  leftBottom,
const vec2 &  rightBottom,
const vec2 &  leftTop,
const vec2 &  rightTop 
)
void star::Rect::SetRightBottom ( const vec2 &  pos)
void star::Rect::SetRightTop ( const vec2 &  pos)

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