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 |
A Thousand Ships
|
a497a5cb3e
[Core] Codestyle improvements to math types
|
1 year ago |
Rémi Verschelde
|
d95794ec8a
One Copyright Update to rule them all
|
2 years ago |
Silc Renew
|
b217c41d36
Refactor interpolating functions in some classes to use Math class
|
2 years ago |
Yaohua Xiong
|
f9fa182abc
Refactor Curve3D::_bake() method
|
2 years ago |
Haoyu Qiu
|
5da515773d
Add `is_finite` method for checking built-in types
|
3 years ago |
Aaron Franke
|
436dcb3286
Remove set_all methods from Vector2/3/4
|
2 years ago |
Jonathan Nicholl
|
15d057c521
Add `is_zero_approx` methods to `Vector2`, `3`, and `4`
|
3 years ago |
Silc Renew
|
dded7c72c1
Make `cubic_interpolate()` consider key time in animation
|
3 years ago |
Hendrik Brucker
|
99ce0df3b1
Refactor bezier interpolation functions
|
3 years ago |
lawnjelly
|
0565676893
Protection for array operator for Vector2 / 3 in DEV builds
|
3 years ago |
lawnjelly
|
5298e16e80
Float literals - fix main primitives to use .f
|
3 years ago |
Bartłomiej T. Listwon
|
51cac0709e
Fix Vector2 and Vector2i coord access via operator[]
|
3 years ago |
reduz
|
8c7268664d
Fix integer vector mul/div operators and bindings.
|
3 years ago |
Rémi Verschelde
|
e223bad86d
Core: Move Vector2i to its own `vector2i.h` header
|
3 years ago |
lawnjelly
|
b411a731fe
Add nodiscard to core math classes to catch c++ errors.
|
3 years ago |
Rémi Verschelde
|
e1766da4bd
Merge pull request #53618 from aaronfranke/signed-angle-vec3i
|
3 years ago |
Aaron Franke
|
064036d786
Allow Vector2/3 slerp values to have any length
|
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 |
Aaron Franke
|
24f57886d0
Expose max_axis_index and max_axis_index for Vector2(i)
|
5 years ago |
Hugo Locurcio
|
8fb7e622a6
Rename built-in `SGN()` macro to `SIGN()`
|
3 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 |
Gilles Roudière
|
b2187797df
Add min_axis and max_axis to Vector2i
|
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 |