daily pastebin goal
45%
SHARE
TWEET

Untitled

a guest Mar 20th, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. new_w = w * 0.8;
  2.      w = some_number;
  3.      h = some_number;
  4.      for (int i = 0; i < num_rectangles; i++)
  5.      {
  6.          cx = some_data[i * 2];
  7.          cy = some_data[i * 2 + 1];
  8.          if (cx < w && cy < h)
  9.          {
  10.             new_w = max(cx * 2, new_w);
  11.          }
  12.      }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top