topical media & game development 
  
 
 
 
 
  
    
    
  
 graphic-processing-algorithm-Ch09-p211-p211.pde / pde
  MyObject b = new MyObject(40); //create an object
  void setup(){
    size(500,500, P3D); //setup the screen
    camera(-100,100,-100,0,0,0,0,0,1); //get a viewpoint
  }
  void draw(){
    background(255);
    pointLight(255, 255, 255, -200,300,-400);
    b.draw3(); //draw the object
  }
  
  
  
  
(C) Æliens 
04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher. 
In case of other copyright issues, contact the author.