Commit Graph

89 Commits (main)

Author SHA1 Message Date
Brett 4caaecd850 abs in vec/mat 2024-10-01 14:40:27 -04:00
Brett 96b071e337 matrix 2024-09-23 14:45:32 -04:00
Brett 7300f895bb logging 2024-09-20 17:13:09 -04:00
Brett 39fd5a73d6 normalize 2024-09-20 00:37:39 -04:00
Brett 1ceb71aac9 mag and normal 2024-09-19 23:48:58 -04:00
Brett 6646db8249 constexpr all the matrix 2024-09-19 17:39:06 -04:00
Brett a60380c898 log boxing 2024-09-19 17:20:27 -04:00
Brett e19a88c454 matrix fix 2024-09-19 15:12:38 -04:00
Brett ba10bd633e not going to merge 4x4 into generalized 2024-09-19 13:40:34 -04:00
Brett d1aaf4db94 working on generalized matrix 2024-09-19 02:01:18 -04:00
Brett a7645d9dde silly 2024-09-02 12:38:50 -04:00
Brett 6632d04528 fix to rounding func 2024-08-23 22:26:43 -04:00
Brett 1b09483af0 new format for bytes, rounding functions / types, they don't work.
rounding up at least
2024-08-23 21:13:16 -04:00
Brett cd5c98d748 minior vector change 2024-07-20 15:44:57 -04:00
Brett a8b2bc2d01 easing functions 2024-05-14 21:57:51 -04:00
Brett a3e187bd01 constexpr on vector functions 2024-05-14 21:31:59 -04:00
Brett 9bd19ed372 color interpolation 2024-05-14 21:30:28 -04:00
Brett 12169a7001 matrix functions for vec2 operations, defaults are logically assumed. 2024-05-13 21:31:05 -04:00
Brett 9b86278a29 constexpr on vecs 2024-05-03 15:57:04 -04:00
Brett 3f0ea887cd allow any type that can be static_cast to type of vector in operators like +, -, *. / 2024-05-01 21:28:42 -04:00
Brett 37da0bd76d support vectors with 1/(vec<T>) 2024-05-01 21:25:29 -04:00
Brett 8a5794cfee vec silly 2024-05-01 21:12:16 -04:00
Brett e6b4c4a330 change mat4x4 internal structure, adjugate and inverse now works
determinant probably does not
2024-05-01 12:11:53 -04:00
Brett 0a04408e70 inverse and bed 2024-05-01 03:27:17 -04:00
Brett 133728b641 make color no longer transparent 2024-04-29 21:46:32 -04:00
Brett 86fd4a2a9a inline make color 2024-04-29 21:45:01 -04:00
Brett 69e6a505d6 make color 2024-04-29 21:35:16 -04:00
Brett 325508e807 forgot .data on elements 2024-04-12 00:04:23 -04:00
Brett 898760e938 allow access to vector data insides 2024-04-12 00:03:56 -04:00
Brett 9db3f12048 printing vectors is fun 2024-04-09 19:09:50 -04:00
Brett 4743018302 replace the filesystem because apparently i actually used that 2024-04-09 18:24:34 -04:00
Brett a15ebfdd77 more docs 2024-04-09 18:03:33 -04:00
Brett 26d215be0a finish fixed point 2024-04-04 18:23:34 -04:00
Brett 646fd60212 more fixed point numbers now with explict conversions! 2024-04-04 10:27:16 -04:00
Brett de5d363fe8 unsigned div 2024-04-04 09:22:29 -04:00
Brett cbb747634a fp working now 2024-04-04 09:20:11 -04:00
Brett 2bab551319 fixed pointer numbers time! 2024-04-04 09:00:48 -04:00
Brett 7e405a27ee changes to how formatter works 2024-03-11 12:05:37 -04:00
Brett 384529333c GNUC define fix 2024-02-22 15:54:52 -05:00
Laptop Windows 43cf8c0ba1 windows 2024-02-21 20:24:00 -05:00
Brett 6ec0b1f886 changes? 2024-02-14 16:19:48 -05:00
Brett ea31d8f26c add resize to scoped buffer to allow better usage in the GP assignment 2024-02-14 15:21:59 -05:00
Brett 3473247e6c what changed? 2024-02-13 23:49:18 -05:00
Brett e0f2069b19 make vec class trivially copyable. Also add a couple new useful constructors 2024-02-06 00:00:35 -05:00
Brett 73094dbd6d add little fun != to vec 2024-01-02 01:18:47 -05:00
Brett 13f82dfc2f math rads 2023-12-29 19:32:16 -05:00
Brett cf7c6f2237 logging NONE will now output without format string 2023-07-25 14:06:04 -04:00
Brett 31855dd0a4 move math functions to math.h
format contained a rounding function and power function, they are now in math.h
2023-07-24 02:44:25 -04:00
Brett f5069859c5 Merge remote-tracking branch 'github/main' 2023-07-21 03:56:11 -04:00
Brett 889f24d402 logging 2.0 is almost at first working build 2023-07-21 03:32:42 -04:00