lib/graph3d/Point2d.js

Summary

Maintainability
A
0 mins
Test Coverage
/**
 * @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;