MCPcopy Create free account
hub / github.com/atraczyk/2d-engine / ScreenRect

Class ScreenRect

engine/src/rectangle.h:11–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9#define RECTANGLE_H
10
11class ScreenRect
12{
13public:
14 float x, y, w, h;
15
16 ScreenRect(float _x = 0, float _y = 0, float _w = 0, float _h = 0);
17 ~ScreenRect(void);
18
19 int iTop();
20 int iLeft();
21 int iBottom();
22 int iRight();
23
24 float fTop();
25 float fLeft();
26 float fBottom();
27 float fRight();
28};
29
30class WorldRect
31{

Callers 8

initializeMethod · 0.85
G_initializeGameFunction · 0.85
R_drawSceneLightsFunction · 0.85
R_renderFunction · 0.85
R_drawMenusFunction · 0.85
R_drawSelectedMenuItemFunction · 0.85
R_resizeFunction · 0.85
drawMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected