MCPcopy Index your code
hub / github.com/TanTanDev/first_voxel_engine

github.com/TanTanDev/first_voxel_engine @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
118 symbols 199 edges 25 files 10 documented · 8%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

first_voxel_engine

This is my first ever voxel engine written for Rust, using wgpu-rs as rendering backend.

I will not accept pull requests as I want people watching my video about creating this (here: https://youtu.be/96ht7rd3Y5I)

to have easy access to the source code at this projects initial state.

so what is the initial state? Working endless voxel generation, but not optimized! Only one form of world generation is provided, endless grass cave one. preview

Extension points exported contracts — how you extend this code

VertexDesc (Interface)
(no doc) [3 implementers]
src/rendering/vertex_desc.rs
DrawModel (Interface)
(no doc) [1 implementers]
src/model.rs
DrawLight (Interface)
(no doc) [1 implementers]
src/model.rs

Core symbols most depended-on inside this repo

into
called by 16
src/color.rs
is_solid
called by 7
src/voxel_tools/voxel.rs
try_get_voxel
called by 4
src/voxel_tools/chunks.rs
resize
called by 3
src/main.rs
create_render_pipeline
called by 3
src/rendering/render_utils.rs
update_uniform
called by 2
src/camera.rs
draw_mesh_instanced
called by 2
src/model.rs
draw_light_mesh_instanced
called by 2
src/model.rs

Shape

Method 76
Class 24
Function 14
Interface 3
Enum 1

Languages

Rust100%

Modules by API surface

src/voxel_tools/chunks.rs21 symbols
src/model.rs16 symbols
src/voxel_tools/chunk.rs12 symbols
src/voxel_tools/voxel.rs8 symbols
src/main.rs8 symbols
src/texture.rs7 symbols
src/camera_controller.rs6 symbols
src/camera.rs6 symbols
src/rendering/vertex_instance.rs4 symbols
src/rendering/render_utils.rs4 symbols
src/depth_pass.rs4 symbols
src/color.rs4 symbols

For agents

$ claude mcp add first_voxel_engine \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact