topical media & game development

talk show tell print

mobile-query-three-plugins-cannonjs-vendor-cannon.js-src-utils-Vec3Pool.js / js



  /*global CANNON:true */
  
  
@class CANNON.Vec3Pool

  
  CANNON.Vec3Pool = function(){
      CANNON.ObjectPool.call(this);
      this.type = CANNON.Vec3;
  };
  CANNON.Vec3Pool.prototype = new CANNON.ObjectPool();
  
  CANNON.Vec3Pool.prototype.constructObject = function(){
      return new CANNON.Vec3();
  };


(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.