- C
- Raycasting
- DDA
- Graphics
- MinilibX
- Team Project
- 42
Cub3D
A first-person 3D maze explorer inspired by Wolfenstein 3D, built in C using only the 42 MinilibX graphics library. Walls are rendered with a raycasting engine using the DDA (Digital Differential Analyzer) algorithm: one ray per screen column, perpendicular-distance correction to eliminate fisheye distortion, and per-wall texture mapping based on cardinal orientation. Maps are loaded from custom .cub config files that define textures and floor/ceiling colours.