JerryI / Mathematica-ThreeJS-graphics-engine

A parser for Wolfram Mathematica's Graphics3D functions (written in JS)
29 stars 2 forks source link

some type improvements && add ignore #8

Closed asukaminato0721 closed 1 year ago

asukaminato0721 commented 1 year ago
  1. since https://stackoverflow.com/questions/51588573/cubegeometry-vs-boxgeometry-in-three-js , so I replace the name.
  2. add some js-doc to proper type hint. Actually if add
//@ts-check

to the top, there will be a lot of errors. Because of some api breaking changes :(

  1. add build/ to .gitignore

The development is much easier now.

asukaminato0721 commented 1 year ago

I mean put the bundle.js with html in release files. So user can download the tar.gz, unarchive and use it.

JerryI commented 1 year ago

Also good idea. But other projects like Wolfram-js-frontend depend on bundle.js file. It would be nice to keep the fast way of updating them as well.