aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/rectangle.hpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove semicolon after namespaceAlexander Sulfrian2014-05-041-1/+1
| | | | | Class definitions have to end with a semicolon but not namespaces. So remove this everywhere.
* rectangle: add possibility to get dimensionAlexander Sulfrian2013-01-181-0/+5
|
* utils/rectangle: add is_in(Point)Alexander Sulfrian2013-01-181-0/+15
| | | | Add possibility to check whether a Point is inside the rectangle.
* utils/rectangle: add + and =+ operator to move rectangleAlexander Sulfrian2013-01-181-0/+19
| | | | | Points could be added to rectangles and moves the rectangle by this amount.
* utils/rectangle: add set_leftAlexander Sulfrian2013-01-181-0/+7
|
* remove legacy keywords from file headerAlexander Sulfrian2013-01-131-2/+0
|
* menu/clipping_helper: made clipping workingAlexander Sulfrian2013-01-131-0/+7
|
* utils/rectangle: removed external constructors and added helperAlexander Sulfrian2013-01-131-14/+0
| | | | | constructors that generate a rectangle from GLint[4] or FTBBox are now helper functions to remove the external dependencies from the helper class
* utils/rectangle: could get top/bottom/left/right coordinates from RectangleAlexander Sulfrian2013-01-131-8/+19
|
* utils/rectangle: added ctor to create a Rectange from a FTBoxAlexander Sulfrian2013-01-131-0/+8
|
* utils/rectangle: the points should be modifiableAlexander Sulfrian2013-01-131-2/+2
|
* utils/dimension: added template for types of the metricsAlexander Sulfrian2013-01-051-1/+1
|
* utils/rectangle: added function to intersect two rectanglesAlexander Sulfrian2013-01-051-0/+23
|
* utils/rectangle: added shortcut for accessing the position of a rectangleAlexander Sulfrian2013-01-051-0/+10
|
* utils/rectangle: added constructor for array of valuesAlexander Sulfrian2013-01-051-0/+6
| | | | | the new constructor is used to make a rectangle object from the array of values returned from glGet(GL_SCISSOR_BOX)
* utils: templatized point, point_3d and rectangleAlexander Sulfrian2013-01-051-12/+52
| | | | | added template parameter for the geometry helper classes, moved function definitions to hpp file to support templates
* fixed include pathsAlexander Sulfrian2013-01-051-2/+2
|
* added Point, Point3D, Dimension, Rectangle, RgbColor and Texture classesAlexander Sulfrian2013-01-051-0/+54