Guest User

Untitled

a guest
Oct 24th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. if (ray_map_chunk_intersection(&world.map, orig, dir, &info)) {
  2. world.cur_cube = map_chunk_cube(&world.map, info.x, info.y, info.z);
  3. world.cur_cube_side = info.side;
  4. world.cx = info.x;
  5. world.cy = info.y;
  6. world.cz = info.z;
  7. } else {
  8. world.cur_cube = 0;
  9. }
Add Comment
Please, Sign In to add comment