Vector3.clone()

Return a new vector identical to this vector

Parameters

None

Return value

Vector3

The new vector

Usage

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

let vector1 = new Vector3(2,2,2);
let vector2 = vector1.clone();
console.log(vector2); //(2,2,2)