1. 08 12月, 2014 2 次提交
  2. 07 12月, 2014 9 次提交
  3. 05 12月, 2014 2 次提交
  4. 04 12月, 2014 2 次提交
  5. 03 12月, 2014 3 次提交
  6. 02 12月, 2014 5 次提交
  7. 01 12月, 2014 1 次提交
    • W
      Generalizing search/get methods in Object3D · 66598e68
      Wilt 提交于
      I often end up adding custom properties to my `THREE.Object3D` objects but it is hard to use my custom parameters to find objects. Right now there are two specific methods to find objects by a property. `getObjectById` and `getObjectByName`. My suggestion is to add a less specific getObjectByProperty method with as first param the `propertyName` or 'name' and second param `propertyValue` or 'value'. We are able to reuse this new method in `getObjectById` and `getObjectByName`. This ends up in less code with more flexibility.
      
      An additional suggestion would be to add a get method to find by `uuid` like this:
      
      `````
      getObjectByUuid: function ( uuid, recursive ) {
      
          return this.getObjectByProperty( 'uuid', uuid, recursive );
      
      },
      
      `````
      
      I hope you guys also see advantages in this change.
      66598e68
  8. 29 11月, 2014 1 次提交
  9. 28 11月, 2014 3 次提交
  10. 27 11月, 2014 11 次提交
  11. 26 11月, 2014 1 次提交