Removed svelte parallax

This commit is contained in:
BOT Alex 2025-04-05 21:43:05 +02:00
parent 2558592d9c
commit 2fa0e4ee8e
9 changed files with 74 additions and 441 deletions

View file

@ -1,21 +0,0 @@
export class Vector2 {
x: number;
y: number;
constructor(x: number, y: number) {
this.x = x;
this.y = y;
}
Add(vec2: Vector2){
return new Vector2(this.x + vec2.x, this.y + vec2.y);
}
Sub(vec2: Vector2){
return new Vector2(this.x - vec2.x, this.y - vec2.y);
}
Scale(mult: number){
return new Vector2(this.x * mult, this.y * mult);;
}
}