Vector3.toString()

Return a string containing values of each axis (x = 1; y = 1; z = 1)

Parameters

None

Return value

String

The vector as a string

Usage

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

let vector1 = new Vector3(1,1,1);
console.log(vector1.toString()); //(x = 1; y = 1; z = 1)