diff --git a/doc/003.png b/doc/003.png new file mode 100644 index 0000000..4bb557b Binary files /dev/null and b/doc/003.png differ diff --git a/tinyraycaster.cpp b/tinyraycaster.cpp index 6d51bcd..250de16 100644 --- a/tinyraycaster.cpp +++ b/tinyraycaster.cpp @@ -65,6 +65,8 @@ int main() { "0 0"\ "0002222222200000"; // our game map assert(sizeof(map) == map_w*map_h+1); // +1 for the null terminated string + float player_x = 3.456; // player x position + float player_y = 2.345; // player y position for (size_t j = 0; j