Commit graph

59 commits

Author SHA1 Message Date
Stephen Gutekanst
94540a4332 math: add orthographic projection
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-09-08 17:53:37 -07:00
Stephen Gutekanst
eba9390616 math: add Matrix translation constructors
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-09-08 17:50:30 -07:00
Stephen Gutekanst
5095002b1e math: add Matrix scaling constructors
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-09-08 17:10:20 -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
0538698bda math: add some more std.math re-exports
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-09-08 14:46:13 -07:00
Stephen Gutekanst
f2f6df9f7b all: fix the build
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-09-04 17:04:30 -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