Adrian Leonhard
Adrian Leonhard
Hey, I implemented this function for 3d non-intersecting cubic curves. Posting it here in case you find it useful: (NLA.equals and NLA.isZero are fuzzy comparison functions, solveCubicRoot2 is a modified...
Well assuming the form `a t³ + b t² + c t + d = 0`, the first step is to normalize it to `t³ + b/a t² + c/a...
@danmarshall As I said, it basically the same as @Pomax 's version, with added parameter checking. For what it's worth: ``` function solveCubicReal2(a, b, c, d) { if (NLA.isZero(a)) {...
> I don't know why this eslint rule prefers `interface` but I don't think its because of extensibility reasons. Basically TypeScript uses a **Structured type** system as opposed to a...
1. w/o deps, commonjs 2. w/o deps, es 3. w/ deps, umd 4. w/ deps, umd + minified 5. w/ deps, es 6. w/ deps, es + minified We want...
The big pro here is that the ES bundle works correctly now: It does `export { CstParser, EmbeddedActionsParser, ... } ` instead of `const module = { CstParser, EmbeddedActionsParser };...
A feature like this would be useful for testing locally too. I.e. "ignore the config and just use this token".
Do you just want to copy those methods? The fromRect syntax you're proposing isn't entirely compatible with reading creating paths from svg shape elements. `fromRect({x: 0, y: 0, width: 40,...
Thinking about it, I'm not entirely sure this makes sense. The functions in svgicons2svgfont are pretty focused on converting from svg ellipse etc tag attributes (including parsing numbers), as such...
It's not quite clear to me why they're implemented as a bit mask anyway, apart from the relative flag, all the other states are mutually exclusive?