1. 25 9月, 2015 2 次提交
  2. 11 8月, 2015 2 次提交
    • D
      Revert back to using `copy` to actually copy in attributes for Lights · d19b117c
      Daniel Hritzkiv 提交于
      This is instead of applying the attributes directly to the constructor in `clone`, like I briefly had.
      d19b117c
    • D
      Updated clone + copy methods; rearranged methods; fix CubeTexture's clone method · ba65769d
      Daniel Hritzkiv 提交于
      - Better inheriting of `clone` + `copy` methods where appropriate. This is done by calling `new this.constructor()` in parent classes. `this.constructor` refers to the current instance's constructor, so it should all compose nicely;
      
      - Pass in attributes directly as arguments to constructor when cloning, where appropriate (if arguments pattern is different from parent class). This mean `copy` isn't relied on to set those attributes.
      
      - Change order of `clone` in some files (for better visibility into its relationship with `copy`, and to maintain consistency; can return to previous order if necessary);
      
      - Fix CubeTexture's clone method
      ba65769d
  3. 21 7月, 2015 1 次提交
  4. 20 7月, 2015 1 次提交
  5. 17 7月, 2015 2 次提交
  6. 27 3月, 2015 1 次提交
  7. 20 3月, 2015 1 次提交
  8. 25 1月, 2015 1 次提交
  9. 31 12月, 2014 1 次提交
  10. 20 12月, 2014 1 次提交
  11. 11 11月, 2014 1 次提交
  12. 18 8月, 2014 1 次提交
  13. 28 1月, 2014 1 次提交
  14. 14 3月, 2013 3 次提交
  15. 15 8月, 2012 1 次提交
  16. 26 6月, 2012 1 次提交
  17. 06 10月, 2011 1 次提交
  18. 11 9月, 2011 1 次提交
    • A
      Fixed bug preventing setting 0 values in constructor at several places. · 517f0f55
      alteredq 提交于
      This buggy pattern ("something = parameter || nonzero value") exists at more places though elsewhere setting to zero doesn't make that much sense (e.g. in geometries).
      
      Not sure if we should change it everywhere to proper pattern ("something = ( parameter !== undefined ) ? parameter : value").
      
      Maybe it would be good for establishing habit. I remember fixing this buggy pattern long ago but it just keeps popping up.
      517f0f55
  19. 29 3月, 2011 1 次提交
  20. 26 2月, 2011 1 次提交
  21. 26 1月, 2011 1 次提交
  22. 27 11月, 2010 1 次提交
  23. 06 10月, 2010 1 次提交
    • M
      * Added `PointLight` · 647b4a57
      Mr.doob 提交于
      * `CanvasRenderer` and `SVGRenderer` basic lighting support (`*ColorStroke`/`*ColorFill` only)
      * `Renderer` > `Projector`. `CanvasRenderer`, `SVGRenderer` and `DOMRenderer` do not extend anymore
      * Interactivity base code (hdi folder). To be refactored... ([mindlapse](http://github.com/mindlapse))
      * Added `computeCentroids` method to `Geometry`
      * Included `Stats.js` directly in the `/examples` folder to avoid the need of internet for playing around
      647b4a57