Guest User

Untitled

a guest
Jun 25th, 2014
381
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. if (f.special_tiles[0].texture) {
  2. float llev = ((float)n.getParam2() / 255.0 )*2.0-1.0;
  3. TileSpec tile_liquid = f.special_tiles[0];
  4. box=aabb3f(-b, -a+0.001,-b, b, a*llev-0.001, b);
  5. box.MinEdge += pos;
  6. box.MaxEdge += pos;
  7. makeCuboid(&collector, box, &tile_liquid, 1, c, NULL);
  8. }
Advertisement
Add Comment
Please, Sign In to add comment