Skip to content

Release 2.35.0

Compare
Choose a tag to compare
@github-actions github-actions released this 16 Sep 14:47

2.35.0 (2021-09-16)

Features

  • AnimationPlayer: add a callback ran at each animation frame (1280ce0)

Code Refactoring

  • Controls: change deprecated mouseWheel event to wheel event (923d10c)
  • Controls: handle mouse events in StateControls (ae1c30b)
  • Controls: switch context menu management in StateControl (5fa010b)
  • Controls: switch enabled property from GlobeControls to StateControl (76130b4)
  • Controls: switch keyboard management to StateControls (a392a7b)
  • Controls: switch wheel management to StateControl (4e64b75)
  • StateControl: factorise handleMouse in pointer methods (0e626d8)
  • StateControls: simplify setFromOptions method (a7d175f)

Bug Fixes

  • c3DEngine: fix error when input renderer.domElement is a canvas (14567c1)
  • CameraUtils: CameraTransformOptions parameter stopPlaceOnGroundAtEnd is no longer overriden (7f3a542)
  • CameraUtils: compute precise altitude when setting CameraRig (011fcbc)
  • Feature2Mesh: addapt indices array type from the size of polygon (378c092)
  • GlobeControls: fix jittering move globe when devtool is open (825841c)
  • Label: clamp labels altitude over 0 (ddd59e0)
  • Label: enforce Labels div top position to 0 (08528d7)
  • ShapefileParser: prevent ignoring input crs wen given (d2b90b7)

Examples

  • camera traveling: add an example where user can pick points and have camera traveling between those points (6e79ff3)

Workflow and chores

  • examples: change geoportail key. (36f0f40)
  • move babel preset-env options to .babelrc (ad22bcc)
  • remove import three examples polyfill. (48d52ae)
  • up three 131.2 (aed4dbc)
  • up to webpack 5. (ea36982)
  • update packages. (909e96e)

Documentation

  • minor update on Controls documentation (5f4ace1)
  • Controls: minor doc fixes (d7c2ffa)