Commit Graph

12 Commits (fd8f196008301ce83dae6061eaa0d4b365b0c4d2)

Author SHA1 Message Date
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
Jakub Mateusz Marcowski b733102f4a Add `Vector2i/3i/4i` methods: `distance_to` and `distance_squared_to` 2024-01-03 11:45:05 +01: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
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