Commit graph

32 commits

Author SHA1 Message Date
4bba01058b
Implement chunk unloading, frustrum culling and some other minor optimisations 2021-06-03 16:34:42 +02:00
023d010c84
Merge branch 'return_of_the_crab' 2021-06-02 17:21:15 +02:00
c22409bd54
Clean up main.rs event handling a little 2021-06-02 17:21:03 +02:00
d56f8d7c56 Merge branch 'main' into return_of_the_crab 2021-06-02 17:00:08 +02:00
d2ff642b3b
? 2021-06-02 16:58:55 +02:00
c91d6a851e
Release the cursor on unfocus 2021-06-02 16:50:58 +02:00
9e52359112
Merge branch 'main' into return_of_the_crab 2021-06-02 16:37:56 +02:00
071f300368 shits wack yo 2021-06-02 16:07:59 +02:00
cfe4304f7c
Move cube::to_vertices to quad::to_vertices 2021-06-02 12:19:56 +02:00
8bc41825d2
Create Geometry struct to replace vertex/index tuples 2021-06-02 02:33:26 +02:00
c8e455053b
Fix fps table alignment 2021-06-02 01:26:29 +02:00
032d527af3
Differentiate between Vertex and BlockVertex
This allows for BlockVertex to store additional information, like the texture ID, without resorting to ugly hacks like passing it as a float
2021-06-01 23:27:08 +02:00
5c33afbc59
Fix input on macOS 2021-06-01 22:01:45 +02:00
9ce89b707c
Implement simple colission detection 2021-06-01 21:04:48 +02:00
e78878150d
Implement simple text renderer 2021-06-01 19:58:11 +02:00
bfa7a48483
Move basic rendering context to RenderContext
This way they can be passed around much more easily
2021-06-01 16:47:28 +02:00
65f0a706d3
Cull invisible block faces, reintroduce removing/adding blocks 2021-06-01 10:48:30 +02:00
ff20d5ad29
Add super cool water 2021-05-31 21:24:59 +02:00
0d7df1d501
Move state stuff to its own folder 2021-05-31 18:34:09 +02:00
bf22190ccd
Move HUD-related code to its own file 2021-05-31 18:31:20 +02:00
dc95af56f2
oops 2021-05-31 04:01:33 +02:00
033c257d3b
Meshify chunks 2021-05-31 04:01:03 +02:00
61ec4c4da5
Add world generation, better fps stats, multiple chunks, grass/stone blocks 2021-05-30 13:25:47 +02:00
ea31c2d4dd
Implement placing blocks 2021-05-30 03:48:26 +02:00
3674f1020f
Add some UI, major cleanup 2021-05-29 22:49:12 +02:00
17fbd875e2
Implement Chunk, including a raycasting algorithm 2021-05-29 19:07:40 +02:00
eee0287d7f
We mousing 2021-05-28 23:21:20 +02:00
7dbe316637
Fix textures, implement lighting, clean up, etc 2021-05-28 21:11:31 +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
361d0206d5
Initial commit 2021-05-28 02:54:06 +02:00