1. 25 7月, 2015 7 次提交
  2. 24 7月, 2015 9 次提交
  3. 23 7月, 2015 9 次提交
  4. 22 7月, 2015 5 次提交
    • M
      Merge pull request #6890 from haeric/raycasting-indexless-buffergeometry · 9c490512
      Mr.doob 提交于
      Fix array overflow for Mesh.raycast on indexless BufferGeometry
      9c490512
    • M
      Merge pull request #6889 from dubejf/fixbox · 27a622a4
      Mr.doob 提交于
      Fix error in BoxHelper with non-geometric objects
      27a622a4
    • H
      Fix array overflow for Mesh.raycast on indexless BufferGeometry · d4374e31
      haeric 提交于
      Array overflow made raycasting on indexless BufferGeometry horribly slow (for one it was doing 3 times more work, but more importantly, array access outside of array bounds are horribly slow)
      d4374e31
    • D
      Fix error in BoxHelper with non-geometric object · cd2e2493
      dubejf 提交于
      cd2e2493
    • D
      Extract OrbitConstraint from OrbitControls · 6a2a28fe
      dubejf 提交于
      OrbitControls takes care of the DOM, input binding and event handling.
      
      OrbitConstraint is responsible for keeping the camera on an orbit, maintaining its orientation towards the target and updating the camera and target position.
      
      There is only one insignificant API change. Before, dolly / rotate functions could be called without parameters to engage autoRotate / autoSpeed. OrbitConstraint does not support that. Now, OrbitControls must provide these parameter explicitly to OrbitConstraint. As far as I can tell, those methods were only used internally and should not be part of the control API.
      
      OrbitControls extends OrbitConstraint. In my ideal implementation, OrbitConstraint should be a property of the OrbitControls, but using inheritence help preserve the existing interface.
      
      OrbitConstraint is not included in the `THREE` namespace. It is defined in a closure and private to this file. It could also the placed in `extras\constraints`, along with other contraints that could be extracted from the current controls, and maybe other type of constraints on the object position/displacement (constrain movement to plane, to path, collision).
      
      These constraints should not necessarily be limited to cameras; they could apply to any objects. It's not clear to me how all this will shape up, but this is a nice place to pause and ask for feedback before going forward.
      6a2a28fe
  5. 21 7月, 2015 10 次提交