diff --git a/doc/005.png b/doc/005.png new file mode 100644 index 0000000..6360748 Binary files /dev/null and b/doc/005.png differ diff --git a/tinyraycaster.cpp b/tinyraycaster.cpp index 3507b15..9322ffd 100644 --- a/tinyraycaster.cpp +++ b/tinyraycaster.cpp @@ -68,6 +68,7 @@ int main() { float player_x = 3.456; // player x position float player_y = 2.345; // player y position float player_a = 1.523; // player view direction + const float fov = M_PI/3.; // field of view for (size_t j = 0; j