LeviLamina
Loading...
Searching...
No Matches
RectangleArea.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5class RectangleArea {
6public:
7 // member variables
8 // NOLINTBEGIN
9 ::ll::TypedStorage<4, 4, float> _x0;
10 ::ll::TypedStorage<4, 4, float> _x1;
11 ::ll::TypedStorage<4, 4, float> _y0;
12 ::ll::TypedStorage<4, 4, float> _y1;
13 // NOLINTEND
14
15#ifdef LL_PLAT_S
16#else // LL_PLAT_C
17public:
18 // prevent constructor by default
19 RectangleArea();
20
21#endif
22public:
23 // member functions
24 // NOLINTBEGIN
25#ifdef LL_PLAT_C
26 MCAPI RectangleArea(float x0, float y0, float x1, float y1, bool checkForValidity);
27
28 MCAPI ::RectangleArea grow(::glm::vec2 const& f) const;
29
30 MCAPI bool isOverlapping(::RectangleArea const& rect) const;
31
32 MCAPI ::RectangleArea translate(float tx, float ty) const;
33#endif
34 // NOLINTEND
35
36public:
37 // constructor thunks
38 // NOLINTBEGIN
39#ifdef LL_PLAT_C
40 MCAPI void* $ctor(float x0, float y0, float x1, float y1, bool checkForValidity);
41#endif
42 // NOLINTEND
43};