Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (left.y != right.y && left.x != right.x) {
- for (int i = left.y, leny = right.y - left.y, xsf = 1; i <= leny; ++i, ++xsf) {
- for (int j = left.x << xsf, lenx = (right.x - left.x) >> xsf; j < lenx; ++j)
- this->__scene[i][j] = true;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement