Gistrec

test

Aug 18th, 2017
264
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.61 KB | None | 0 0
  1.         for ($x = $this->pos1['x']; $x <= $this->pos2['x']; $x += $this->pos2['x'] - $this->pos1['x']) {
  2.             for ($y = $this->pos1['y']; $y <= $this->pos2['y']; $y += $this->pos2['y'] - $this->pos1['y']) {
  3.                 for ($z = $this->pos1['z']; $z <= $this->pos2['z']; $z += $this->pos2['z'] - $this->pos1['z']) {
  4.                     $particle = clone $pk;
  5.                     $particle->x = $x;
  6.                     $particle->y = $y;
  7.                     $particle->z = $z;
  8.                     $particle->encode();
  9.                     $particles[] = $particle;
  10.                 }
  11.             }
  12.         }
Advertisement
Comments
  • User was banned
Add Comment
Please, Sign In to add comment