mirror of
https://github.com/MartinKral/Slash-The-Hordes
synced 2024-12-25 11:18:54 +00:00
14 lines
239 B
TypeScript
14 lines
239 B
TypeScript
test("try ", () => {
|
|
const x = 200;
|
|
const y = -100;
|
|
|
|
const atan = Math.atan(Math.abs(y) / Math.abs(x));
|
|
|
|
console.log(Math.sin(atan) * y);
|
|
console.log(Math.cos(atan) * x);
|
|
|
|
expect(true).toBeTruthy();
|
|
});
|
|
|
|
export {};
|