a guest Dec 8th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   private void drawFan(PVector ursprung, PVector[] rand) {
  2.     beginShape(TRIANGLE_FAN);
  3.     vertex(ursprung.x, ursprung.y, ursprung.z);
  4.     for (int i = 0; i < rand.length; i++) {
  5.       vertex(rand[i].x, rand[i].y, rand[i].z);
  6.     }
  7.     vertex(rand[0].x, rand[0].y, rand[0].z);
  8.     endShape();
  9.   }
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