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 |
Jakub Marcowski
|
cb954c6bab
Implement `Vector2i/3i/4i` methods: `distance_to` and `distance_squared_to`
|
1 year ago |
Andrés Botero
|
a90e151b2a
Added component-wise `min` and `max` functions for vectors
|
2 years ago |
Rémi Verschelde
|
d95794ec8a
One Copyright Update to rule them all
|
2 years ago |
VolTer
|
e26f0906f2
Implement snappedi, snappedf, and Vector[2/3/4]i.snapped
|
2 years ago |
Rémi Verschelde
|
d9a3888cea
Merge pull request #66133 from aaronfranke/set-all
|
2 years ago |
Aaron Franke
|
50fb0220ca
Define AXIS_COUNT in all vector types
|
2 years ago |
Aaron Franke
|
fd8bd27657
Remove set_axis and get_axis methods from Vector2/2i/3/3i/4/4i
|
2 years ago |
Aaron Franke
|
058ac331b0
Minor fixes to Vector4
|
3 years ago |
lawnjelly
|
0565676893
Protection for array operator for Vector2 / 3 in DEV builds
|
3 years ago |
Rémi Verschelde
|
e031aa06ee
Core: Use forward declares for Vector3/Vector3i
|
3 years ago |
reduz
|
8c7268664d
Fix integer vector mul/div operators and bindings.
|
3 years ago |
lawnjelly
|
b411a731fe
Add nodiscard to core math classes to catch c++ errors.
|
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 |
Ricard Rovira Cubeles
|
a8d12b5a61
Add constant to vector function parameters that don't actually modify their input.
|
4 years ago |
Aaron Franke
|
2e13e3ed4a
Allow clamping vectors and colors
|
4 years ago |
Rémi Verschelde
|
b5334d14f7
Update copyright statements to 2021
|
4 years ago |
reduz
|
127458ed17
Reorganized core/ directory, it was too fatty already
|
4 years ago |
reduz
|
f2397809a8
Refactored Variant Operators.
|
4 years ago |
Rémi Verschelde
|
0ee0fa42e6
Style: Enforce braces around if blocks and loops
|
5 years ago |
Rémi Verschelde
|
07bc4e2f96
Style: Enforce separation line between function definitions
|
5 years ago |
Rémi Verschelde
|
0be6d925dc
Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks
|
5 years ago |
Rémi Verschelde
|
1f6f364a56
Port member initialization from constructor to declaration (C++11)
|
5 years ago |
Rémi Verschelde
|
db81928e08
Vulkan: Move thirdparty code out of drivers, style fixes
|
5 years ago |