From 25adfc618e77db9a5ee3b98ce0dab0be832efed0 Mon Sep 17 00:00:00 2001 From: niliara-edu Date: Tue, 24 Dec 2024 17:58:20 +0100 Subject: hello kitty base done --- src/engine/vector.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/engine/vector.js') diff --git a/src/engine/vector.js b/src/engine/vector.js index 452e47b..f596c51 100644 --- a/src/engine/vector.js +++ b/src/engine/vector.js @@ -7,7 +7,6 @@ export class Vector { add(newVector) { this.x += newVector.x this.y += newVector.y - return this } normalize() { @@ -19,13 +18,11 @@ export class Vector { this.x = this.x / Math.abs(this.x) * c this.y = this.y / Math.abs(this.x) * c } - return this } multiply(multiplier) { this.x *= multiplier this.y *= multiplier - return this } clone() { -- cgit v1.2.3