SHARE
TWEET

Untitled

a guest Sep 21st, 2014 213 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         private void culling(Frustum frustum) {
  2.                 for (int i = 0; i < lights.size; i++) {
  3.                         Light l = lights.items[i];
  4.                         l.culled = false;
  5.                         if (!frustum.sphereInFrustum(l.x, l.y, l.z, l.distance)) {
  6.                                 l.culled = true;
  7.                                 break;
  8.                         }
  9.                 }
  10.         }
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top