Commit graph

8 commits

Author SHA1 Message Date
Joel D. Schüller
7597f03b71 math: Implement more Vec operations
max, min, inverse, negate, maxScalar, minScalar
2023-09-22 09:51:55 -07:00
Olle Lukowski
93357bd358
math: add initial Quaternion implementation (#1000) 2023-09-15 10:38:46 -07:00
Stephen Gutekanst
77b95aa9a9 math: fix lerp reference
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-09-09 19:24:03 -07:00
Stephen Gutekanst
fe517f3efb math: improve debug build performance
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-09-09 18:24:10 -07:00
Stephen Gutekanst
d23d662adb math: add Vec element-wise >,>=,<,<= operators
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-09-08 16:55:11 -07:00
Stephen Gutekanst
b81e416e02 math: various fixes
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-09-08 16:54:10 -07:00
Stephen Gutekanst
40a1ba0431 math: use extern struct for guaranteed memory layout
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-09-08 14:53:18 -07:00
Stephen Gutekanst
5b25db1025 math: begin rewrite of mach.math
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-09-04 17:01:54 -07:00