fix file export names for laser, sla. add device max power for lasers

This commit is contained in:
Stewart Allen 2024-12-04 13:56:35 -05:00
commit cbfa05e1da
9 changed files with 33 additions and 22 deletions

View file

@ -166,6 +166,10 @@ function round(v, zeros) {
return Math.round(v * pow) / pow;
}
function clamp(val, low, hi) {
return Math.max(low, Math.min(hi, val));
}
/**
* used by {@link Polygon.trace} and {@link Polygon.intersect}
*/
@ -590,6 +594,7 @@ base.util = {
sqr,
lerp,
time,
clamp,
comma,
round,
area2,