pass-scene
Version:
Memorable passphrase generator
16 lines (12 loc) • 527 B
JavaScript
// Copyright (c) 2011, Chris Umbel, James Coglan
// This file is required in order for any other classes to work. Some Vector methods work with the
// other Sylvester classes and are useless unless they are included. Other classes such as Line and
// Plane will not function at all without Vector being loaded first.
Math.sign = function(x) {
return x < 0 ? -1: 1;
}
var Sylvester = {
precision: 1e-6,
approxPrecision: 1e-5
};
module.exports = Sylvester;