mirror of
https://github.com/orange-cpp/omath.git
synced 2026-06-16 04:04:34 +00:00
fix
This commit is contained in:
@@ -6,6 +6,7 @@ Thanks to everyone who made this possible, including:
|
|||||||
- Billy O'Neal aka BillyONeal for fixing compilation issues due to C math library compatibility.
|
- Billy O'Neal aka BillyONeal for fixing compilation issues due to C math library compatibility.
|
||||||
- Alex2772 for reference of AUI declarative interface design for omath::hud.
|
- Alex2772 for reference of AUI declarative interface design for omath::hud.
|
||||||
- Keith O'Hara aka kthohr for a C++ generalized constant expression-based math library that was used as reference.
|
- Keith O'Hara aka kthohr for a C++ generalized constant expression-based math library that was used as reference.
|
||||||
|
|
||||||
And a big hand to everyone else who has contributed over the past!
|
And a big hand to everyone else who has contributed over the past!
|
||||||
|
|
||||||
THANKS! <3
|
THANKS! <3
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ namespace omath::hud
|
|||||||
public:
|
public:
|
||||||
CanvasBox(Vector2<float> top, Vector2<float> bottom, float ratio = 4.f);
|
CanvasBox(Vector2<float> top, Vector2<float> bottom, float ratio = 4.f);
|
||||||
|
|
||||||
[[nodiscard]]
|
[[nodiscard("You have to use array")]]
|
||||||
std::array<Vector2<float>, 4> as_array() const;
|
std::array<Vector2<float>, 4> as_array() const;
|
||||||
|
|
||||||
Vector2<float> top_left_corner;
|
Vector2<float> top_left_corner;
|
||||||
|
|||||||
Reference in New Issue
Block a user