feat: starting to work on the raycast algorithm
This commit is contained in:
parent
e4d2dfda21
commit
03a19491f7
2 changed files with 77 additions and 0 deletions
26
includes/raycast.h
Normal file
26
includes/raycast.h
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* raycast.h :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/11/12 12:27:30 by rparodi #+# #+# */
|
||||
/* Updated: 2024/11/12 12:29:51 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef RAYCAST_H
|
||||
# define RAYCAST_H
|
||||
|
||||
#include <math.h>
|
||||
|
||||
/**
|
||||
* @brief Convert the degrees to radian
|
||||
*
|
||||
* @param degrees the value to convert
|
||||
* @return the value converted in radian
|
||||
*/
|
||||
double cub_convert_rad_to_deg(double degrees);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue