topical media & game development

talk show tell print

graphic-canvas-experiment-raytracer-script-background.js / js



  /* Fake a Flog.* namespace */
  if(typeof(Flog) == 'undefined') var Flog = {};
  if(typeof(Flog.RayTracer) == 'undefined') Flog.RayTracer = {};
  
  Flog.RayTracer.Background = Class.create();
  
  Flog.RayTracer.Background.prototype = {
      color : null,
      ambience : 0.0,
      
      initialize : function(color, ambience) {
          this.color = color;
          this.ambience = ambience;
      }
  }


(C) Æliens 20/2/2008

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.