Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
briangann committed Aug 10, 2023
1 parent 084e4b4 commit e8b5278
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ export interface ValueToDegreesOptions {
maxValue: number;
zeroTickAngle: number;
maxTickAngle: number;
};
}

export interface ValueToRadiansOptions {
minValue: number;
maxValue: number;
zeroTickAngle: number;
maxTickAngle: number;
};
}

export const valueToDegrees = (value: number, options: ValueToDegreesOptions) => {
// example: degree range is from 60 to 300 (240) maxTickAngle - zeroTickAngle
Expand Down

0 comments on commit e8b5278

Please sign in to comment.