Vector2.getMinAxis()

Return the name of the axis with the lowest value

Parameters

None

Return value

AxisNames2d

The name of the axis

Usage

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

let vector = new Vector2(1,2);
let minAxis = vector.getMinAxis();
console.log(minAxis); //x