BARE2D
BARE2D::Rectangle Struct Reference

#include <DebugRenderer.hpp>

+ Collaboration diagram for BARE2D::Rectangle:

Public Member Functions

void construct (glm::vec4 &posSize, float &lineThick, Colour &fillCol)
 

Data Fields

glm::vec4 destRect
 
Line lines [2]
 

Detailed Description

Definition at line 28 of file DebugRenderer.hpp.

Member Function Documentation

◆ construct()

void BARE2D::Rectangle::construct ( glm::vec4 &  posSize,
float &  lineThick,
Colour fillCol 
)

Definition at line 59 of file DebugRenderer.cpp.

References BARE2D::Line::construct(), destRect, and lines.

+ Here is the call graph for this function:

Field Documentation

◆ destRect

glm::vec4 BARE2D::Rectangle::destRect

Definition at line 31 of file DebugRenderer.hpp.

Referenced by construct().

◆ lines

Line BARE2D::Rectangle::lines[2]

Definition at line 32 of file DebugRenderer.hpp.

Referenced by construct().


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