Advertisement
Guest User

Untitled

a guest
Oct 30th, 2014
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.28 KB | None | 0 0
  1. if (left.y != right.y && left.x != right.x) {
  2.         for (int i = left.y, leny = right.y - left.y, xsf = 1; i <= leny; ++i, ++xsf) {
  3.             for (int j = left.x << xsf, lenx = (right.x - left.x) >>  xsf; j < lenx; ++j)
  4.                 this->__scene[i][j] = true;
  5.         }
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement