mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 19:16:41 +07:00
removed console.logs
This commit is contained in:
parent
653dd8ace1
commit
e44780d90e
2 changed files with 3 additions and 7 deletions
|
@ -100,9 +100,6 @@ export const angleBetweenPointsRad = (A: Point, B: Point): number => ((Math.atan
|
|||
// return new Point(x, y);
|
||||
// };
|
||||
|
||||
export const allwaysPositiveAngleDeg = (angle: number): number => {
|
||||
const res = (angle >= -90 && angle <= 90) ? angle : (180 + angle)
|
||||
console.log(`${angle} ==> ${res}`)
|
||||
|
||||
return res;
|
||||
};
|
||||
export const allwaysPositiveAngleDeg = (angle: number): number => (
|
||||
(angle >= -90 && angle <= 90) ? angle : (180 + angle)
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue