Commit Graph

4 Commits

Author SHA1 Message Date
Glen Whitney
bb1c2813be Add a JavaScript function to obtain the vertices of a Polygon. 2018-09-05 00:37:49 -04:00
Glen Whitney
e2f0f34394 Restore operability of Circle3D from JavaScript
There were two small problems. First, the type-checking in MacroRunner.run
was too strict, so applications that worked manually were failing from
JavaScript. The fix was to replace all of the type-checking code in that
function with a single call to isAdmissible(), which also simplified the code
and removed duplication.

Second, when assembling return values in ExecuteMacro in JSFunctions.java the
code would commit array bounds violations when there were no targets from
the MacroRunner. This commit fixes both problems and avoids silently dropping
the exceptions caught in Circle3D.
2018-09-05 00:21:49 -04:00
Glen Whitney
c312811084 Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
Glen Whitney
002acfc88e Initial commit 2018-09-05 02:17:56 +00:00