Files
librenms/lib/graph3d/Point2d.js
T
laf 35db670c97 Squashed 'lib/vis/' content from commit 1d029ca
git-subtree-dir: lib/vis
git-subtree-split: 1d029cab7b527f3b292e95d550efbf784dac8699
2015-03-28 13:50:19 +00:00

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;