Commit graph

142 commits

Author SHA1 Message Date
griffi-gh ec42143154 decrease it a bit 2023-01-30 00:27:47 +01:00
griffi-gh 8d72185a4e Increase "epsilon" value for max pitch 2023-01-30 00:22:16 +01:00
griffi-gh f5a4bd9603 player move events 2023-01-30 00:21:03 +01:00
griffi-gh 71154b07bc normalize 2023-01-29 23:19:24 +01:00
griffi-gh 889c193a05 fix bug in neighbor code 2023-01-29 23:11:36 +01:00
griffi-gh bace24b13c Always unmark dirty 2023-01-29 02:16:26 +01:00
griffi-gh 419e08aa64 exit on esc and cursor lock 2023-01-29 02:15:12 +01:00
griffi-gh a74296956e Minor refactor, add cursor lock module 2023-01-29 01:58:52 +01:00
griffi-gh 9d2c00b204 Remove empty crosshair module 2023-01-29 01:45:38 +01:00
griffi-gh e11302c4c0 fix a memory leak and most warnings 2023-01-29 01:28:00 +01:00
griffi-gh 04e4b246fe minor refactor 2023-01-29 01:21:28 +01:00
griffi-gh 1a948b43be fix world gen 2023-01-28 23:43:19 +01:00
griffi-gh 427feecb55 wtf 2023-01-28 23:41:34 +01:00
griffi-gh 827ed16aa1 fix typo 2023-01-28 22:43:25 +01:00
griffi-gh 665b3b841e prev inputs 2023-01-28 22:37:01 +01:00
griffi-gh 1fef7e00cd skip placement if both buttons are down 2023-01-28 22:28:10 +01:00
griffi-gh 5f9f0ad72f update 2023-01-28 22:27:40 +01:00
griffi-gh c1cd48101b block breaking! 2023-01-28 22:06:08 +01:00
griffi-gh f3e8459968 generalize lookingat 2023-01-28 21:37:00 +01:00
griffi-gh b8bbda4be8 better check 2023-01-28 21:34:11 +01:00
griffi-gh 407f87aaab increase player range 2023-01-28 21:30:51 +01:00
griffi-gh 0c25bfa5ae selection kinda works 2023-01-28 21:28:25 +01:00
griffi-gh a4f4a765ae having issues with blending... 2023-01-28 20:56:17 +01:00
griffi-gh 2bb22ddaec wip selection box 2023-01-28 04:35:55 +01:00
griffi-gh b4462a0176 wip 2023-01-28 04:26:47 +01:00
griffi-gh 3b36990d32 raycasts, refactor 2023-01-28 04:20:51 +01:00
griffi-gh a9666062ec refactor part of the cube frustum culling code 2023-01-27 22:41:33 +01:00
griffi-gh 158639d3b7 update frustum only if the camera moves 2023-01-27 22:34:57 +01:00
griffi-gh 16bc214628 reenable worldgen 2023-01-27 22:32:23 +01:00
griffi-gh d9ab57ba12 Mouse sensitivity is now affected by delta time 2023-01-27 22:27:48 +01:00
griffi-gh 4c2a29e0a3 enable frustum culling! 2023-01-27 22:22:49 +01:00
griffi-gh fe5bafdd35 fix 2023-01-27 22:17:30 +01:00
griffi-gh 5b4f54a19e wip culling 2023-01-27 22:01:51 +01:00
griffi-gh 1f1b337988 frustum culling impl 2023-01-27 21:50:33 +01:00
griffi-gh a29f6c65fd frustum 2023-01-27 21:15:23 +01:00
griffi-gh 19fa7e67bc Wip frustum code port 2023-01-27 04:02:27 +01:00
griffi-gh 783b6a1f84 wip 2023-01-27 03:24:21 +01:00
griffi-gh 6b8deab094 control 2023-01-27 02:14:10 +01:00
griffi-gh 90c5b2a1e2 fix 2023-01-27 01:04:56 +01:00
griffi-gh a7a1b44548 testing noise 2023-01-27 01:04:01 +01:00
griffi-gh 294648b1b2 u 2023-01-26 14:44:11 +01:00
griffi-gh a512fffcc4 Chunk state downgrades 2023-01-26 04:12:29 +01:00
griffi-gh 5c3ee1c4b6 testing 2023-01-26 03:58:05 +01:00
griffi-gh 9ed19bfc0e skip drawing empty chunks 2023-01-26 03:54:41 +01:00
griffi-gh 941f563059 block textures 2023-01-26 03:50:38 +01:00
griffi-gh dfdcc3e4b7 change world generations, enable mi[mapping in sampler, unlink movement speed from fps 2023-01-26 03:39:39 +01:00
griffi-gh fc6da8856d remove useless argument 2023-01-26 03:28:17 +01:00
griffi-gh f3f0227511 yay it works! 2023-01-26 03:28:05 +01:00
griffi-gh 56c2f0de88 fuck 2023-01-26 03:05:29 +01:00
griffi-gh 29166c3b95 upd camera 2023-01-25 04:11:55 +01:00