Rune Engine  Version 0.2.7-alpha
Documentation for how to make games using the Rune Engine.
rune::Rect< T > Class Template Reference

A rectangle that can be used for specifying a dimension. More...

#include <rect.h>

Public Member Functions

 Rect ()
 Default empty constructor for a Rect.
 
 Rect (T rectLeft, T rectTop, T rectWidth, T rectHeight)
 

Public Attributes

left
 Left most position of the rectangle.
 
top
 Top most position of the rectangle.
 
width
 Width of the rectangle.
 
height
 Height of the rectangle.
 

Detailed Description

template<typename T>
class rune::Rect< T >

A rectangle that can be used for specifying a dimension.

Author
Thomas Montano
Date
July 22 2020

Constructor & Destructor Documentation

◆ Rect()

template<typename T >
rune::Rect< T >::Rect ( rectLeft,
rectTop,
rectWidth,
rectHeight 
)
inline

Default constructor for a new Rect.

Parameters
rectLeftLeft most position of the rectangle.
rectTopTop most position of the rectangle.
rectWidthWidth of the rectangle.
rectHeightHeight of the rectangle.

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