Skip to content

A C raycaster is a program that simulates a 3D environment by casting rays from the player's position and calculating the intersections with objects in the scene.

Notifications You must be signed in to change notification settings

masterMav/Raycaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Raycaster

A C raycaster is a program that simulates a 3D environment by casting rays from the player's position and calculating the intersections with objects in the scene. This raycaster consists of a game player that can move and change angle, and 3D walls that are drawn from 2D maps with shaded textures.

The internal workings of the raycaster use a digital differential analyzer (DDA) algorithm to interpolate values faster while detecting horizontal or vertical lines. This allows for efficient rendering of the 3D environment and smooth movement of the player.

Overall, the C raycaster provides a fun and interactive experience for users to explore a 3D environment in real-time, with the ability to move and interact with the virtual world.


About

A C raycaster is a program that simulates a 3D environment by casting rays from the player's position and calculating the intersections with objects in the scene.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages