UNPKG

vis-graph3d

Version:

Create interactive, animated 3d graphs. Surfaces, lines, dots and block styling out of the box.

12 lines (10 loc) 203 B
/** * @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;