voxel-engine/Notes.md
2025-11-13 15:22:23 -06:00

7 lines
426 B
Markdown

These are just some notes on the blogpost I was following. While it was great, I thought the author might want to know where some areas were lacking (i would).
- in the definition of raycast_voxel `step` is never defined, nor explained. I'm pretty sure it's just supposed to be `step_dir` though.
- `get_voxel` returns the type `Voxel?` but `Chunk.voxels` doesn't hold a type named `Voxel` only a HashMap<ivec3, VoxelKind>