Files
librenms/lib/vis/lib/graph3d/Point2d.js
T

12 lines
203 B
JavaScript

/**
* @prototype Point2d
* @param {Number} [x]
* @param {Number} [y]
*/
function Point2d (x, y) {
this.x = x !== undefined ? x : 0;
this.y = y !== undefined ? y : 0;
}
module.exports = Point2d;