Vector3.halve()

Divide this vector by 2

Parameters

None

Return value

Vector3

The vector with its new values

Usage

import {Vector3} from '@lcluber/type6js';

let vector = new Vector3(2,2,2);
console.log(vector); //(2,2,2)
vector.halve();
console.log(vector); //(1,1,1)