UNPKG

tapspace

Version:

A zoomable user interface lib for web apps

17 lines (16 loc) 284 B
module.exports = (Vector) => { return function () { // @Orientation.getUnitY() // // Get a unit vector along the z-axis of the orientation. // // Return // a Vector // return new Vector(this.basis, { x: 0, y: 0, z: 1 }) } }