Releases: yomotsu/camera-controls
Releases · yomotsu/camera-controls
v1.25.1
v1.25.0
Oct 1, 2020
- #126: Updated readme.md to prompt the user to run CameraControls.install() (@ACMCMC)
- ec4b502: add camera shake example
- #127: Added an error message if the user hasn't run install() (@ACMCMC)
- #132, f4d90b1: Offset feature
- e316370: fix: TOUCH_***_OFFSET did not move the offset
- #133: Add a method
cancel()
, to cancel user dragging #133 - #136: Focal offset should take z-offset for PerspectiveCamera
- #138, #139: Add a method:
fitToSphere()
- See the example: fit-to-bounding-sphere
- 🚨
fitTo()
is renamed tofitToBox()
v1.24.1
v1.24.0
Sep 6, 2020
- #101:
.currentAction
, A getter for the currentACTION
(e.g.ACTION.ROTATE
,ACTION.TRUCK
, ...) - #102: normalizeRotations() should ignore negative value
- #104: better event type interface
- #106:
toJSON
didn't save movement end value properly, fixed this - 0683a42, d366372: Update examples
- #113: Infinity dolly (@liradb2000)
- #119: Fix a typo in README (@abusedmedia)
- #123: Replace
THREE.Math
withTHREE.MathUtils
(@msemtd) - #125: Better environment detection
- See #124 for details. It fixes an SSR issue in short
- 60c545f, ce704ea: Update several dependencies
- Automated dependency updates: #99, #104, #106, #108
v1.22.0
v1.21.0
v1.20.2
v1.20.1
Apr 6, 2020
- #92:
toJSON()
andfromJSON()
now comes withzoom
(@paulmelnikow) - a805b41:
toJSON()
andfromJSON()
now comes withminZoom
,maxZoom
, andzoom0
v1.20.0
Apr 5, 2020
- #88, #90:
fitTo
now makes camera look toward closest surface of the bounding box (@juliendargelos)- 🚨 Previous implementation have forced it look toward Z- regardless of its current orientation. If you want the previous behavior, call
controls.rotateTo( 0.0, Math.PI / 2.0 )
right before usingfitTo
- 🚨 Previous implementation have forced it look toward Z- regardless of its current orientation. If you want the previous behavior, call
- #91: It no longer
preventDefault
s inside of wheel events whenmouseButtons.wheel
is set toACTION.NONE
(@jeanremy)