More cleanup
This commit is contained in:
parent
4a418cd473
commit
5d39aae19d
4 changed files with 109 additions and 99 deletions
|
@ -1,6 +1,6 @@
|
|||
import { mix } from "../utils.mjs";
|
||||
|
||||
class Box {
|
||||
export class Box {
|
||||
constructor(t, b, l, r) {
|
||||
this.top = t;
|
||||
this.bottom = this.bot = b;
|
||||
|
@ -40,4 +40,3 @@ class Box {
|
|||
return mix(this.bottom, this.top, t);
|
||||
}
|
||||
}
|
||||
export { Box };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue