Skip to content

AngleMeasurement: Wrong measurement if initial unit is radianย #727

@danngo-onset

Description

@danngo-onset

Describe the bug ๐Ÿ“

When the component is mounted, the unit is degree, if I switch to radian and start measuring, the measurements are still shown in degree. Theyโ€™re not shown in radian until I switch the unit to radian again.
Image
Image

Reproduction โ–ถ๏ธ

https://thatopen.github.io/engine_components/examples/AngleMeasurement/

Steps to reproduce ๐Ÿ”ข

No response

System Info ๐Ÿ’ป

Chrome Version 146.0.7680.178 (Official Build) (arm64)

Used Package Manager ๐Ÿ“ฆ

npm

Error Trace/Logs ๐Ÿ“ƒ

No response

Validations โœ…

  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Make sure this is a repository issue and not a framework-specific issue. For example, if it's a THREE.js related bug, it should likely be reported to mrdoob/threejs instead.
  • Check that this is a concrete bug. For Q&A join our Community.
  • The provided reproduction is a minimal reproducible example of the bug.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions