Skip to content

Commit

Permalink
revert autoconversion
Browse files Browse the repository at this point in the history
  • Loading branch information
micheal-parks committed Feb 29, 2024
1 parent 4facad7 commit de6ca54
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@viamrobotics/three",
"version": "0.0.6",
"version": "0.0.7",
"license": "Apache-2.0",
"type": "module",
"files": [
Expand Down
6 changes: 0 additions & 6 deletions src/orientation-vector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,6 @@ export class OrientationVector {
}

setUnits(units: 'degrees' | 'radians'): this {
if (units === 'degrees' && this.#units === 'radians') {
this.#th = MathUtils.degToRad(this.#th);
} else if (units === 'radians' && this.#units === 'degrees') {
this.#th = MathUtils.radToDeg(this.#th);
}

this.#units = units;

return this;
Expand Down

0 comments on commit de6ca54

Please sign in to comment.