Set VRML97 translation of IndexedFaceSets to specify `solid false`
unless the faces were explicitly indicated to have CLOCKWISE or
COUNTERCLOCKWISE vertex ordering. This is conservative, but otherwise
shapes may be "see-through" in undesirable ways, if the original
VRML 1 vertices are not ordered consistently with the VRML97 default.
Also fixes a typo/bug in picking up numerical values of parameters,
and ensures that fields in the output VRML97 are always separated by
at least a space, comma, or parenthesis.
Also removes the useless example.d.ts file from the distribution.
Updates the civet compiler to the greatest version that works
on this code.
Resolves#13.
Resolves#14.
Reviewed-on: #15
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-committed-by: Glen Whitney <glen@studioinfinity.org>
Construct a proper package.json in the dist file and copy
the README there for a reasonably complete shipped package.
Reviewed-on: #8
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-committed-by: Glen Whitney <glen@studioinfinity.org>
I failed to find a satisfactory way to compile and import moo.js with
fixed specifiers, so finally I just gave up and patched the distributed
moo code to be an es6 module. Very ugly but it works.
Resolves#1.
Reviewed-on: #2
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-committed-by: Glen Whitney <glen@studioinfinity.org>
Add the civet and typescript compilers, implement a build step,
provide examples of using from es6, script, and command line.
Of course, there is no actual behavior produced; convert always produces
'foo' at the moment.