times(a: number): Vector {
    this.x *= a;
    this.y *= a;
    this.z *= a;
    return this;