Permalink
Browse files

monsters depth problem

  • Loading branch information...
ssloy committed Feb 9, 2019
1 parent ea577d6 commit f2db6b113af0151c06b65460d892531a3739a579
Showing with 1 addition and 1 deletion.
  1. BIN doc/015.png
  2. +1 −1 tinyraycaster.cpp
BIN +19.9 KB doc/015.png
Binary file not shown.
@@ -117,7 +117,7 @@ int main() {
std::cerr << "Failed to load textures" << std::endl;
return -1;
}
std::vector<Sprite> sprites{ {1.834, 8.765, 0}, {5.323, 5.365, 1}, {4.123, 10.265, 1} };
std::vector<Sprite> sprites{ {3.523, 3.812, 2}, {1.834, 8.765, 0}, {5.323, 5.365, 1}, {4.123, 10.265, 1} };

render(fb, map, player, sprites, tex_walls, tex_monst);
drop_ppm_image("./out.ppm", fb.img, fb.w, fb.h);

0 comments on commit f2db6b1

Please sign in to comment.