UNPKG

@jscad/modeling

Version:

Constructive Solid Geometry (CSG) Library for JSCAD

11 lines (9 loc) 238 B
/** * Return the origin of the given line. * * @param {line3} line - line of reference * @return {vec3} the origin of the line * @alias module:modeling/maths/line3.origin */ const origin = (line) => line[0] module.exports = origin