avocado-old/packages/math/index.js
2019-11-09 16:44:13 -06:00

68 lines
821 B
JavaScript

// import * as Matrix from './matrix';
// export {Matrix}
export {QuadTree} from './quadtree';
export {Range} from './range';
import * as Rectangle from './rectangle';
export {Rectangle}
export {SimpleMovingAverage} from './sma';
import * as Vector from './vector';
export {Vector}
import * as Vertice from './vertice';
export {Vertice}
export {
abs,
acos,
acosh,
asin,
asinh,
atan,
atanh,
atan2,
ceil,
cbrt,
expm1,
clz32,
cos,
cosh,
exp,
floor,
fromRad,
fround,
hypot,
imul,
log,
log1p,
log2,
log10,
max,
min,
normalizeAngleRange,
pow,
random,
round,
sign,
sin,
sinh,
sqrt,
tan,
tanh,
toRad,
trunc,
E,
LN10,
LN2,
LOG10E,
LOG2E,
PI,
PI_180,
SQRT1_2,
SQRT2,
add,
div,
frac,
mul,
randomNumber,
sub,
} from './math';