15 Commits

Author SHA1 Message Date
Thaddeus Crews
2dee0cc4de Style: Replace _NO_DISCARD_ macro with [[nodiscard]]
(cherry picked from commit 89fd27608f)
2025-03-17 10:50:49 -05:00
David Snopek
43be24f34c Merge pull request #1437 from AThousandShips/vec_elem_scalar
Add scalar versions of `Vector*` `min/max/clamp/snap(ped)`
2024-05-07 12:55:23 -05:00
A Thousand Ships
d389171905 [Math] Add is_finite methods 2024-04-11 13:30:28 +02:00
A Thousand Ships
b65970860e Add scalar versions of Vector* min/max/clamp/snap(ped)
Also added `snapped` to the integer vectors for completeness
2024-04-11 10:42:29 +02:00
A Thousand Ships
52eb77efd4 Add remaining component-wise min/max functions to Vector* 2023-08-16 13:52:51 +02:00
Rémi Verschelde
931f1a3f34 Sync license copyright with upstream GH-70885 2023-01-10 16:15:31 +01:00
Aaron Franke
0455f72ede Use struct instead of class for core structures 2022-10-05 01:46:15 -05:00
Aaron Franke
d479208a8f Update Vector2/2i/3/3i to match the engine 2022-10-01 21:09:05 -05:00
bruvzg
91c56a0ad1 Add bindings for Vector4, Vector4i, Projection built-in types. 2022-07-21 09:36:38 +03:00
Rémi Verschelde
1632322ce0 Update copyright year 2022-03-15 10:17:53 +01:00
Rémi Verschelde
7e3321d1b2 Use forward declares for vector math types
Adds operators to convert from int vector types to float vector types
as done in the upstream engine implementations.
2022-02-20 12:04:08 +01:00
bruvzg
bf8fc4c53d Add ptr() / ptrw() to the arrays, add missing String methods, add missing CharString method implementations. 2022-02-14 23:17:21 +02:00
Bastiaan Olij
94efe3d410 Fixing compiler warnings around implicit type casting loosing precision 2021-11-22 21:48:20 +11:00
George Marques
dfa526ce16 Fix formatting of files 2021-09-27 23:08:10 +10:00
Bastiaan Olij
46c63af715 Re-introduce build-in type code for core types 2021-09-27 23:08:10 +10:00