SHARE
TWEET

Untitled

a guest Jan 16th, 2020 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.      std::sort(psdv->begin(), psdv->end(), [](const ParentSpriteToDraw *ps, const ParentSpriteToDraw *ps2) {
  2.         return ps->xmin + ps->xmax + ps->ymin + ps->ymax + ps->zmin + ps->zmax <
  3.                         ps2->xmin + ps2->xmax + ps2->ymin + ps2->ymax + ps2->zmin + ps2->zmax;
  4.     });
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