Aaron Franke
|
7db24a9ad5
Simplify and fix Rect2/AABB get_support function
|
1 year ago |
Rémi Verschelde
|
b9038501db
Merge pull request #90582 from Repiteo/core/remove-macro-_NO_DISCARD_
|
1 year ago |
A Thousand Ships
|
308dbb8c63
[Core] Add scalar versions of `Vector*` `min/max/clamp/snap(ped)`
|
1 year ago |
Thaddeus Crews
|
55a4836e5b
Core: Replace `_NO_DISCARD_` macro with attribute
|
1 year ago |
Aaron Franke
|
158fcf107c
Fix some uses of float and real_t in core/math
|
1 year ago |
A Thousand Ships
|
79ba22a73f
Use `Vector*` component-wise `min/max/clamp` functions where applicable
|
1 year ago |
A Thousand Ships
|
a497a5cb3e
[Core] Codestyle improvements to math types
|
1 year ago |
Silc Lizard (Tokage) Renew
|
80c9533810
Rework blending method in Variant animation for Int/Array/String
|
1 year ago |
Rémi Verschelde
|
491ded1898
Minor typo and docs URL fixes
|
2 years ago |
Rémi Verschelde
|
d95794ec8a
One Copyright Update to rule them all
|
2 years ago |
Haoyu Qiu
|
5da515773d
Add `is_finite` method for checking built-in types
|
3 years ago |
Aaron Franke
|
43722dbcbc
Use float literals for float calculations in Color
|
2 years ago |
Aaron Franke
|
97d232c11d
Enhancements to includes in core data structures
|
2 years ago |
Aaron Franke
|
995b9f94e8
Replace Rect2(i) has_no_area with has_area
|
3 years ago |
lawnjelly
|
5298e16e80
Float literals - fix main primitives to use .f
|
3 years ago |
Rémi Verschelde
|
e223bad86d
Core: Move Vector2i to its own `vector2i.h` header
|
3 years ago |
Rémi Verschelde
|
5f56d385b0
Core: Move Rect2i to its own `rect2i.h` header
|
3 years ago |
Markus Sauermann
|
23a4fe5b27
Fix incorrect Rect2i calculations: intersects and encloses
|
3 years ago |
lawnjelly
|
b411a731fe
Add nodiscard to core math classes to catch c++ errors.
|
3 years ago |
Aaron Franke
|
252c803d94
Remove zero size checks from Rect2 grow methods
|
3 years ago |
Rémi Verschelde
|
fe52458154
Update copyright statements to 2022
|
3 years ago |
Aaron Franke
|
9687f6fca3
Warn when using an AABB or Rect2 with a negative size
|
5 years ago |
Rémi Verschelde
|
3b11e33a09
clang-format: Disable alignment of operands, too unreliable
|
3 years ago |
Anilforextra
|
90908cd67d
Add Get Center Method for Rect2/Rect2i and AABB.
|
3 years ago |
Aaron Franke
|
554c776e08
Reformat structure string operators
|
4 years ago |
PouleyKetchoupp
|
3877ed73d0
Dynamic BVH broadphase in 2D & 3D Godot Physics
|
4 years ago |
Rémi Verschelde
|
b5334d14f7
Update copyright statements to 2021
|
4 years ago |
Rémi Verschelde
|
058f3fe069
Merge pull request #44149 from madmiraal/rename-tangent-orthogonal
|
4 years ago |
Marcel Admiraal
|
b628912af0
Rename Rect2 and Rect2i grow_margin() to grow_side()
|
4 years ago |
Marcel Admiraal
|
4b8b803931
Rename Control margin to offset
|
4 years ago |