mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-03 15:21:17 -05:00
9b2bfcd50f
- A command whose result cannot reach the script is put back, and the run counts its Copy or Cut only when the clipboard keeps it. Before, a put-back command.batch left its copy on the clipboard, and a put-back Cut after an earlier copy still gave the report copied: true. command.batch now has the clipboard saved before it, as edit.cut and action.batch do. - concatenateMatrix and the other concatenate functions sum each value past the range of a number when a product overflows or falls below the normal range next to another product, so [2^600, 2^600, 0, 1] then [2^600, 0, -2^600, 1] gives [0, 2^600, -2^600, 1] instead of a RangeError, and two products of 2^-1075 sum to 2^-1074. - getRotationMatrix and concatenateRotationMatrix reduce the angle with a remainder that keeps its sign, so -89.99999999999999 is not rounded to the quarter turn 270; -90, -180 and -270 stay exact. - docs/mcp.md says isEqualMatrix and isSingularMatrix give true or false, not a new record.