Refactor code used to build arches and bowls (#2336)
* Refactor code used to build arches and bowls * Bump to a minor version update
This commit is contained in:
parent
82aee0a5b6
commit
503a1c8448
71 changed files with 512 additions and 719 deletions
|
@ -25,6 +25,14 @@ export function bez3(a, b, c, d, t) {
|
|||
t * t * t * d
|
||||
);
|
||||
}
|
||||
export function boole(b) {
|
||||
if (b) return 1;
|
||||
else return 0;
|
||||
}
|
||||
export function boolePn(b) {
|
||||
if (b) return 1;
|
||||
else return -1;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue