all files / src/ index.js

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46                                                                                         
import { default as Line3 } from './Line3.js';
import { default as lineSegment } from './lineSegment.js';
import { clamp,
  degToRad,
  radToDeg,
  sign } from './math.js';
 
import { default as Matrix4 } from './matrix4.js';
import { default as Plane } from './plane.js';
import { default as point } from './point.js';
import { default as quaternion } from './quaternion.js';
import { default as rect } from './rect.js';
import { default as Vector3 } from './vector3.js';
 
const cornerstoneMath = {
  Line3,
  lineSegment,
  clamp,
  degToRad,
  radToDeg,
  sign,
  Matrix4,
  Plane,
  point,
  quaternion,
  rect,
  Vector3
};
 
export {
  Line3,
  lineSegment,
  clamp,
  degToRad,
  radToDeg,
  sign,
  Matrix4,
  Plane,
  point,
  quaternion,
  rect,
  Vector3
};
 
export default cornerstoneMath;