- 25 7月, 2015 7 次提交
- 24 7月, 2015 9 次提交
-
-
由 Mr.doob 提交于
-
由 Mr.doob 提交于
-
由 Mr.doob 提交于
-
由 Jarvis Niu 提交于
-
由 Jarvis Niu 提交于
-
由 Mr.doob 提交于
-
-
由 Mr.doob 提交于
-
由 Mr.doob 提交于
Extract OrbitConstraint from OrbitControls
-
- 23 7月, 2015 9 次提交
-
-
由 dubejf 提交于
-
由 Mr.doob 提交于
-
由 Mr.doob 提交于
sea3d new examples and revision
-
由 Mr.doob 提交于
Clarified slerp methods in docs
-
由 Mr.doob 提交于
Color3: CSS colors parsing for rgba, hsl, hsla
-
由 dubejf 提交于
Adds support for: - rgba(int, int, int, float) - rgba(pct, pct, pct, float) - hsl(deg, pct, pct) - hsla(deg, pct, pct, float) More tolerant about whitespaces. Add new unit tests. Finalizes support for parsing "all" CSS color expression. Alpha component is ignored. Fixes #6014. Hat tip: https://www.npmjs.com/package/parse-color http://www.css-validator.org/
-
由 Greg Tatum 提交于
-
由 Jean Carlo Deconto 提交于
-
由 Jean Carlo Deconto 提交于
-
- 22 7月, 2015 5 次提交
-
-
由 Mr.doob 提交于
Fix array overflow for Mesh.raycast on indexless BufferGeometry
-
由 Mr.doob 提交于
Fix error in BoxHelper with non-geometric objects
-
由 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)
-
由 dubejf 提交于
-
由 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.
-
- 21 7月, 2015 10 次提交