UNPKG

tapspace

Version:

A zoomable user interface lib for web apps

17 lines (16 loc) 318 B
module.exports = (Vector) => { return function () { // @Transform:getVector() // // Get the translation component of the transform as a Vector. // // Return // a Vector // return new Vector(this.basis, { x: this.helm.x, y: this.helm.y, z: this.helm.z }) } }