Commit Graph

584 Commits (5f61e2be4c3e6e20c71f4528b38569f59f8a612a)

Author SHA1 Message Date
Brett cc788e98f4 using in the type 2024-06-23 20:53:53 -04:00
Brett 1ca46b9d7b integer type 2024-06-21 17:35:19 -04:00
Brett 9ad96191ff memory love, expanding buffer. might already have one of theses. should makes docs! 2024-06-19 21:16:58 -04:00
Brett 2266d64f04 add raw type string 2024-06-19 13:07:39 -04:00
Brett 8d3bfbcdc3 use pointer type 2024-06-04 14:00:05 -04:00
Brett 00f368eb23 pointer difference type 2024-06-04 13:59:32 -04:00
Brett bc68e6dd4a allocator changes, allow huge pages 2024-06-03 02:14:43 -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 f228cfbbe3 move template functions into cpp file 2024-05-11 17:44:37 -04:00
Brett 7cd736cf6c templating works for what i need
might be bugs in it still
2024-05-11 13:39:07 -04:00
Brett c3cd00cf04 broekn 2024-05-10 21:36:38 -04:00
Brett 83329f6736 freezing hands 2024-05-10 19:01:23 -04:00
Brett ce7c1357e0 working on templating 2024-05-10 12:56:48 -04:00
Brett 4ef3fe7573 template broken 2024-05-10 01:53:50 -04:00
Brett da82a40699 silly 2024-05-09 21:53:49 -04:00
Brett fa979a2fd4 silly 2024-05-09 21:53:08 -04:00
Brett b857bc96ef template engine 2024-05-09 13:51:25 -04:00
Brett 943fb84211 fix missing ; 2024-05-05 13:14:41 -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 1772e9a6d7 fix system and warnings 2024-04-25 19:35:05 -04:00
Brett c6a54f5106 simd disable 2024-04-25 17:42:03 -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 aa97660877 Merge remote-tracking branch 'github/main' 2024-04-09 18:03:52 -04:00
Brett a15ebfdd77 more docs 2024-04-09 18:03:33 -04:00
Brett 0ec0548661 bump cmake, string 2024-04-06 17:02:10 -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 1e6bc67850 vector const fix for gcc12 2024-04-01 08:31:20 -04:00
Brett 2280046f14 socket error handler 2024-03-31 13:56:56 -04:00
Brett 822d926651 argparse bug fix 2024-03-31 01:42:38 -04:00
Brett 31bc3f3bf7 add doubles, floats and longs to argparse 2024-03-30 17:23:23 -04:00
Brett f100e95a30 fix some issue with the allocator 2024-03-24 17:31:11 -04:00
Brett 26e606afb1 based 2024-03-23 02:48:13 -04:00
Brett 1256ec201c any_t const 2024-03-22 19:32:59 -04:00
Brett 2dd44ca6e7 allow any_t buffered (threads!!) 2024-03-22 18:56:44 -04:00
Brett 16641a27cb more thread pool changes, added counting of tasks. im sure parker will hate this :3 2024-03-22 11:40:01 -04:00
Brett 6a5b7a6865 minior thread pool change 2024-03-22 11:30:58 -04:00
Brett 9bba525b1f add any type 2024-03-11 17:08:11 -04:00
Brett 1abd3214be make not round by default 2024-03-11 12:07:00 -04:00
Brett 7e405a27ee changes to how formatter works 2024-03-11 12:05:37 -04:00
Brett b564b3e57b restrict member access 2024-03-11 11:56:15 -04:00
Brett 6400b1521b allocator stats 2024-03-11 11:51:13 -04:00
Brett 263bbc88cf fix not calling the destructor 2024-03-10 22:57:40 -04:00
Brett 62a973246d ranges 2024-03-10 15:49:52 -04:00
Brett 1dc08ca723 add null check 2024-03-09 12:57:58 -05:00
Brett 24cc37f220 docs for the allocator, minor cleanup 2024-03-08 22:34:50 -05:00
Brett 7e7e542f51 forgot to make free 2024-03-08 16:56:50 -05:00
Brett 7177b03a43 fix allocator issue
misaligned size
2024-03-08 16:37:51 -05:00
Brett 55bae67407 having some issues with the allocator 2024-03-08 12:27:07 -05:00
Brett b4be72795d make sure stored type is trivally_copyable 2024-03-07 13:01:58 -05:00
Brett e29faf7f3a move the extra data to the start 2024-03-07 12:55:12 -05:00
Brett b937df3ca6 allow storage of extra data inside metadata 2024-03-07 12:46:00 -05:00
Brett 3f06d0e619 array now accounts for alignment 2024-03-07 11:38:09 -05:00
Brett eaad38e588 array 2024-03-07 09:00:19 -05:00
Brett ec6ac4e5c2 cleanup 2024-03-07 08:25:30 -05:00
Brett d3166acbbb 2mb size 2024-03-07 08:12:31 -05:00
Brett 3652d987d0 merge 2024-03-07 08:07:46 -05:00
Brett 8e3fc713e4 allocator alignment 2024-03-07 08:06:42 -05:00
Brett 0b1e566217 no default huge 2024-03-06 23:53:03 -05:00
Brett bfb7b04ce5 no more annoying warnings, just enable THB 2024-03-06 23:52:43 -05:00
Brett 06892a3418 more alignment in the allocator 2024-03-06 21:48:17 -05:00
Brett bb695ab703 page aligned allocators, if you are not using huge pages please disable, it'll provide slight performance improvement 2024-03-06 20:35:54 -05:00
Brett a71adc328e more allocator nonsense 2024-03-06 16:42:13 -05:00
Brett be4a61cc80 allocator fix 2024-03-05 13:20:17 -05:00
Brett fe9cd9a6ef remove debug message 2024-03-04 11:33:04 -05:00
Brett e2364280b0 destory alloc fix 2024-03-04 11:21:43 -05:00
Brett c6c92bbd30 alloc 2024-03-04 11:15:25 -05:00
Brett b7d69bdcbb allocator 2024-03-04 10:58:37 -05:00
Brett 0ff9513070 alloc fixes 2024-03-04 10:39:19 -05:00
Brett 148768d690 allocators 2024-02-29 15:07:56 -05:00
Brett 20ceffd64a allocators 2024-02-29 15:07:35 -05:00
Brett ffa20e0e51 lovely 2024-02-29 10:27:02 -05:00
Brett 1732f39a42 vec 2024-02-29 10:14:03 -05:00
Brett fd58930c1d delusion's of parker's rust boner 2024-02-29 09:54:11 -05:00
Brett 490c52c803 Fix issue with initalizer order 2024-02-29 09:10:29 -05:00
Brett 47354e1d8a std:: hashmap variant fix 2024-02-29 08:20:23 -05:00
Brett b40c40efdc profering 2024-02-29 08:11:40 -05:00
Brett 9b4d0cc9a8 push version 0.12.0. Breaking changes to the hashmap typename, Now blt::hashmap_t and blt::hashset_t
This was done to be more consistent
2024-02-25 14:39:56 -05:00
Brett 61d46de573 time update 2024-02-24 14:31:59 -05:00
Brett b4dbb6377e unicode, cmakes 2024-02-24 03:30:31 -05:00
Brett 384529333c GNUC define fix 2024-02-22 15:54:52 -05:00
Brett e9a11a9a7e time on linx fix 2024-02-22 15:52:01 -05:00
Laptop Windows 89bde7c6e8 warnings 2024-02-21 20:36:22 -05:00
Laptop Windows 43cf8c0ba1 windows 2024-02-21 20:24:00 -05:00
Laptop Windows 9b53d82f1c working msvc 2024-02-21 19:32:40 -05:00
Brett 392c32751d vector 3 2024-02-21 15:31:22 -05:00
Brett 8571a8034b vector 2 2024-02-21 13:55:56 -05:00
Brett e320355d62 vector 2024-02-21 13:18:05 -05:00
Brett 6bea6f87f5 unused var fix 2024-02-20 15:22:15 -05:00
Brett 0b6b6aed9b untested vector changes 2024-02-20 15:18:05 -05:00
Brett 1fdf6f6e89 allocator cleanup 2024-02-19 14:47:09 -05:00
Brett 83fff1652d he's a beautuful lad though -michael 2024-02-17 20:46:29 -05:00
Brett 8af1db43c3 uwu 2024-02-16 20:06:06 -05:00
Brett 3395a56bd3 more allocators 2024-02-16 18:38:12 -05:00
Brett 8a32d6b675 allocators 2024-02-16 18:21:13 -05:00
Brett 6ec0b1f886 changes? 2024-02-14 16:19:48 -05:00
Brett 8e5b3ed284 make template specialization more clear 2024-02-14 15:25:18 -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 e1530de338 constexpr funny man 2024-02-13 17:26:05 -05:00
Brett c7beb41042 more tricks to the buffer 2024-02-13 17:06:33 -05:00
Brett cef8eb26b9 pointer fix 2024-02-13 15:11:02 -05:00
Brett 6f2b1c9041 maybe fix span 2024-02-13 15:09:08 -05:00
Brett 3b7d3d4d2a love the span 2024-02-11 14:05:53 -05:00
Brett 7ac20db077 span 2024-02-09 00:14:43 -05:00
Brett 070f1812cd span 2024-02-09 00:13:59 -05:00
Brett c89aa61cca string_view splits, with sv variants for returning vectors of views into the string_view 2024-02-08 14:08:09 -05:00
Brett cf27247eb4 enumerate on itr_offset 2024-02-08 13:43:30 -05:00
Brett f3c3a3bc4a iterator offsetting 2024-02-08 12:59:15 -05:00
Brett 4f871806ab make arg_results public 2024-02-08 09:52:02 -05:00
Brett 82821c0095 add to_string values to argparse (make it cleaner 2024-02-08 08:49:19 -05:00
Brett 8c4c618cc0 refractor a bit 2024-02-06 00:20:37 -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 83729b83d0 ugh TODO: measure gcc version 2024-02-04 14:38:52 -05:00
Brett 25b35024e1 remove unused but troublesome include from nbt 2024-02-04 14:27:44 -05:00
Brett 2f400a6240 c++20 fixes 2024-02-04 14:24:25 -05:00
Brett b2534baaf0 Merge remote-tracking branch 'github/main' 2024-02-04 13:07:31 -05:00
Brett c2387e6564 expected seems to be working 2024-02-03 17:09:59 -05:00
Brett f3b92c3c2c currently broken and untested but almost have c++23 std::expected in BLT (c++17) 2024-02-03 13:11:59 -05:00
Brett d638edf012 more std::expected 2024-02-01 18:46:47 -05:00
Brett 991acb8d4f working on expected 2024-02-01 15:51:54 -05:00
Brett 527595e1cf add assert with custom runtime fail message 2024-01-31 17:24:46 -05:00
Brett 215a596d21 assert print function 2024-01-31 17:13:22 -05:00
Brett 93f56ebcb2 system 2024-01-31 01:16:13 -05:00
Brett 2cc2b2d262 add cstdlib to assert.h because it's needed for exit() 2024-01-30 00:38:38 -05:00
Brett a0b92ddfa7 destory now checks for null 2024-01-25 10:01:21 -05:00
Brett 4116404763 Merge remote-tracking branch 'refs/remotes/origin/main' 2024-01-25 10:01:03 -05:00
Brett b828f3b200 destory now checks for null 2024-01-25 10:00:56 -05:00
Brett 2ef516e66a check against nullptr 2024-01-24 17:37:01 -05:00
Brett b383fb0d16 lambda vistor help 2024-01-24 17:03:20 -05:00
Brett e219444d76 Merge remote-tracking branch 'github/main' 2024-01-19 16:36:50 -05:00
Brett 3163e66879 loader to string_view 2024-01-19 16:30:35 -05:00
Brett 0fbe3bf228 BLT rust like types because std::.... is too long 2024-01-16 14:31:58 -05:00