Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (f.special_tiles[0].texture) {
- float llev = ((float)n.getParam2() / 255.0 )*2.0-1.0;
- TileSpec tile_liquid = f.special_tiles[0];
- box=aabb3f(-b, -a+0.001,-b, b, a*llev-0.001, b);
- box.MinEdge += pos;
- box.MaxEdge += pos;
- makeCuboid(&collector, box, &tile_liquid, 1, c, NULL);
- }
Advertisement
Add Comment
Please, Sign In to add comment