Commit graph

29 commits

Author SHA1 Message Date
fd84429c22
Add debug texture 2021-05-31 03:54:37 +02:00
f802bbe5a2
Use constants for terrain gen parameters 2021-05-30 14:21:25 +02:00
1c23e0f622
Slightly improve worldgen 2021-05-30 14:12:10 +02:00
7d4bccf187
Move camera to above terrain 2021-05-30 14:12:04 +02:00
340e208cda
Update .gitignore 2021-05-30 13:26:25 +02:00
61ec4c4da5
Add world generation, better fps stats, multiple chunks, grass/stone blocks 2021-05-30 13:25:47 +02:00
248a634ecb
Add (yet) unused AABB implementation 2021-05-30 03:52:16 +02:00
1bda22acbf
Switch to ahash for some free performance 2021-05-30 03:48:43 +02:00
ea31c2d4dd
Implement placing blocks 2021-05-30 03:48:26 +02:00
b30ee9ec3b
Move cubes to [0.0, 1.0] to fix raycasting 2021-05-30 02:08:31 +02:00
f0dace2266
Significantly improve the raycasting algorithm 2021-05-30 01:38:24 +02:00
c3b03c2723
Rename chunk::dda to raycast 2021-05-30 00:14:44 +02:00
8bf15dc924
Add block highlighting 2021-05-30 00:12:33 +02:00
3674f1020f
Add some UI, major cleanup 2021-05-29 22:49:12 +02:00
4c27d26882
Replace GUI textures with minecraft ones
it's fun to be at the D-M-C-A
2021-05-29 22:34:23 +02:00
3606299358
Add GUI textures 2021-05-29 19:35:42 +02:00
ff0fc6cdee
Clean up DDA a bit 2021-05-29 19:26:55 +02:00
17fbd875e2
Implement Chunk, including a raycasting algorithm 2021-05-29 19:07:40 +02:00
1b1daad1f7
Update dependencies 2021-05-29 19:04:19 +02:00
5d1aa6ce96
Add upwards movement, make camera pitch not shit itself 2021-05-29 01:05:04 +02:00
eee0287d7f
We mousing 2021-05-28 23:21:20 +02:00
dc5ed8eb9a
Split up State::new 2021-05-28 21:45:12 +02:00
7dbe316637
Fix textures, implement lighting, clean up, etc 2021-05-28 21:11:31 +02:00
e08cb18db5
More clean-up 2021-05-28 03:58:49 +02:00
815930cba8
Move more stuff to their own files 2021-05-28 03:13:07 +02:00
55e4885e20
Move Vertex to its own file 2021-05-28 03:09:00 +02:00
c09bbe28ee
Give in to linter 2021-05-28 03:06:27 +02:00
2fc273645b
Add assets 2021-05-28 02:57:39 +02:00
361d0206d5
Initial commit 2021-05-28 02:54:06 +02:00