mirror of
https://github.com/MartinKral/Slash-The-Hordes
synced 2024-12-26 11:48: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 {};
|