Advertisement
Guest User

Untitled

a guest
Jan 18th, 2016
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. // Tiles (fill in f->tiles[])
  2. for (u16 j = 0; j < 6; j++) {
  3. bool backface_culling = f->backface_culling;
  4. if (!f->tiledef[j].backface_culling) {
  5. backface_culling = false;
  6. }
  7. fillTileAttribs(tsrc, &f->tiles[j], &tiledef[j], tile_shader[j],
  8. use_normal_texture, backface_culling, f->alpha, material_type);
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement