Skip to content

0.2.12

Latest

Choose a tag to compare

@nickw1 nickw1 released this 16 Sep 18:16
· 2 commits to master since this release
  • Bugfix: use correct horizontal-to-vertical and vertical-to-horizontal field of view conversion.
  • Re-emit webcamstarted event from App, with landscape-mode webcam dimensions added (type WebcamLandscapeDimensionsDeterminedEvent) in case other application components need to intercept this event, e.g. query the webcam feed dimensions.
  • Add dimensionsProvider option to App to allow the screen/canvas dimensions to be provided externally. Defaults to window.innerWidth and window.innerHeight, however, width and height from another library, such as R3F's Size object, can be provided here.