Commit graph

18 commits

Author SHA1 Message Date
0db21e96de
debug: init 2024-08-30 00:21:31 +03:00
aadf9a27dd string: fixup isNumber not accepting -1.0
fixes #12
2024-08-28 18:53:00 +02:00
0252fd13e7 utils: add ScopeGuard 2024-08-05 16:45:41 +02:00
outfoxxed
a950624669
math: add Edges (#10) 2024-07-27 17:38:55 +01:00
6174a2a25f
path: add findConfig and dir utils (#8) 2024-07-09 19:11:16 +02:00
c342d5ca44 memory: do not release pointers after emitting a signal
A signal called is allowed to free ourselves, in which case we're not allowed to use this anymore. Only perform the housekeeping of removing stale events before emit, and in registerListener.
2024-07-08 23:06:28 +02:00
a8c3a13570 math/region: add expand 2024-07-05 20:17:24 +02:00
Maximilian Seidler
259ecfa098
string: respect removeEmpty when VarList input is empty (#7) 2024-07-04 18:04:41 +02:00
1d20063da2 math: avoid assert fail in std::clamp in closestPoint 2024-07-04 15:49:06 +02:00
drendog
bbc76ba4e4
math: adjust right and bottom box edges (#6) 2024-07-02 12:16:59 +02:00
Jasson Cordones
7a2c2c96ec
Math: Some more box improvements and test cases (#3)
* Added some constants to handle floating point presicion comparisons and other calculations plus some refactoring

* Removed validation

* Added comments to understand how box header works

* Extended the EXPECT macro to evaluate Vector2D test cases

* Added box.cpp test cases

* Applied clang-format
2024-06-25 01:17:44 +02:00
Jasson Cordones
ff343e0279
Math: Added some constants to handle floating point presicion comparisons (#2)
* Added some constants to handle floating point presicion comparisons and other calculations plus some refactoring

* Removed validation
2024-06-23 20:14:57 +02:00
b4b5389bc1 Math: add an int ctor to vec 2024-06-18 18:17:55 +02:00
e9d4a99e13 Math: init Region, Vector2D and Box 2024-06-18 14:10:18 +02:00
ea8fd1d3ea string: fix isNumber accepting - as valid number 2024-06-15 11:36:28 +02:00
f73a28ca03 string: add replaceInString 2024-06-08 22:35:40 +02:00
138408125c string: add VarList 2024-06-08 22:24:55 +02:00
bf73356d39 utils: Initial Commit 2024-06-08 19:37:15 +02:00