AdRoll / rustenstein

Wolfenstein 3D port written in Rust
https://tech.nextroll.com/blog/dev/2022/02/02/rustenstein.html
MIT License
230 stars 9 forks source link

Display wall textures #16

Closed facundoolano closed 2 years ago

facundoolano commented 2 years ago

This adds some code to the ray caster to map ray hit coordinates to texture coordinates and uses that to draw wall textures instead of plain colors.

Screen Shot 2022-02-27 at 8 03 25 PM Screen Shot 2022-02-27 at 8 04 30 PM