#include <DebugRenderer.hpp>
Collaboration diagram for BARE2D::Line:Public Member Functions | |
| void | construct (glm::vec2 p0, glm::vec2 p1, float &thick, Colour &col) |
Data Fields | |
| glm::vec2 | point0 |
| glm::vec2 | point1 |
| float | thickness |
| Colour | colour |
Definition at line 12 of file DebugRenderer.hpp.
| void BARE2D::Line::construct | ( | glm::vec2 | p0, |
| glm::vec2 | p1, | ||
| float & | thick, | ||
| Colour & | col | ||
| ) |
Definition at line 30 of file DebugRenderer.cpp.
References colour, point0, point1, and thickness.
Referenced by BARE2D::Circle::construct(), and BARE2D::Rectangle::construct().
Here is the caller graph for this function:| Colour BARE2D::Line::colour |
Definition at line 18 of file DebugRenderer.hpp.
Referenced by construct().
| glm::vec2 BARE2D::Line::point0 |
Definition at line 15 of file DebugRenderer.hpp.
Referenced by construct().
| glm::vec2 BARE2D::Line::point1 |
Definition at line 16 of file DebugRenderer.hpp.
Referenced by construct().
| float BARE2D::Line::thickness |
Definition at line 17 of file DebugRenderer.hpp.
Referenced by construct().