1
0
Fork 0
Commit graph

5 commits

Author SHA1 Message Date
cad775f88e World: Implement raycaster
Implement the basic raycaster, checking every block intersection and the block
linked to that position.
Split the screen uniformally along the width.
Add data needed for camera maths in the Player class
Specify constraints on the raycast parameters.

Render the screen using the raycasts.
Call the renderer in the main loop.
2024-01-21 22:08:44 +00:00
c6b09d668c World: Use nicer custom colors 2024-01-21 20:41:19 +00:00
2d396269e0 Pick back up and comment
Clean placeholder code to get it running.
Add comments to clarify working, add TODOs in main,
add some references for the maths.
2023-12-30 14:50:35 +01:00
f21fc6f805 Ajout de la fonction render au monde
Joueur déplaçable
début du cast de rayon
Trop fatigué pour faire de la trigo
2019-06-01 06:42:29 +02:00
52a261de58 First commit, world map creation 2019-05-27 13:50:49 +02:00