kobewi
|
5c0f2414cd
Always add decimal when printing float
|
1 year ago |
A Thousand Ships
|
308dbb8c63
[Core] Add scalar versions of `Vector*` `min/max/clamp/snap(ped)`
|
1 year ago |
A Thousand Ships
|
a497a5cb3e
[Core] Codestyle improvements to math types
|
1 year ago |
Rémi Verschelde
|
fa48a51183
Merge pull request #87688 from AThousandShips/what_is_this
|
1 year ago |
A Thousand Ships
|
15369fdb1d
Remove unnecessary `this->` expressions
|
1 year ago |
Hugo Locurcio
|
0437db0106
Display values in vector/quaternion math function errors
|
1 year 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 |
Jonathan Nicholl
|
15d057c521
Add `is_zero_approx` methods to `Vector2`, `3`, and `4`
|
3 years ago |
Hendrik Brucker
|
99ce0df3b1
Refactor bezier interpolation functions
|
3 years ago |
lawnjelly
|
1485924a2b
Float literals - fix main primitives to use real_t casting
|
3 years ago |
Silc 'Tokage' Renew
|
865da09871
Implement cubic_interpolate() as MathFunc for refactoring
|
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 |
Aaron Franke
|
2c52f16464
Add length and length_squared to Vector2i/3i
|
3 years ago |
Rémi Verschelde
|
fe52458154
Update copyright statements to 2022
|
3 years ago |
Hugo Locurcio
|
8fb7e622a6
Rename built-in `SGN()` macro to `SIGN()`
|
3 years ago |
Tomasz Chabora
|
606cfa9a47
Fix Vector2.angle_to_point() being reversed
|
4 years ago |
Rémi Verschelde
|
3b11e33a09
clang-format: Disable alignment of operands, too unreliable
|
3 years ago |
Anilforextra
|
a1f616dcfc
Use builtin Vector2 functions for calculation of angles.
|
4 years ago |
kobewi
|
3f3739ccb5
Add Vector2.from_angle() method
|
4 years ago |
Ricard Rovira Cubeles
|
a8d12b5a61
Add constant to vector function parameters that don't actually modify their input.
|
4 years ago |
Aaron Franke
|
554c776e08
Reformat structure string operators
|
4 years ago |
Aaron Franke
|
2e13e3ed4a
Allow clamping vectors and colors
|
4 years ago |
Aaron Franke
|
94bc0bd919
Rename Vector2 clamped to limit_length and add limit_length to Vector3
|
4 years ago |
Aaron Franke
|
b5b6d3a8ec
Make is_equal_approx have explicit float and double versions
|
4 years ago |
Aaron Franke
|
6c197cf259
Define GDNative sizes using sizeof(godot_real_t) and sizeof(int32_t)
|
4 years ago |
Rémi Verschelde
|
b5334d14f7
Update copyright statements to 2021
|
4 years ago |
Marcel Admiraal
|
b743a2ef3c
Rename Math::stepify to snapped
|
4 years ago |
Aaron Franke
|
5465e604bb
Improve argument names for core types
|
4 years ago |