add rope support
This commit is contained in:
parent
ccc77490ea
commit
ff0ac094cf
7 changed files with 91 additions and 19 deletions
|
@ -1,9 +1,11 @@
|
|||
'use strict';
|
||||
|
||||
class Copula {
|
||||
constructor(b1, b2) {
|
||||
this.b1 = b1;
|
||||
this.b2 = b2;
|
||||
constructor(b1, b2, p1, p2) {
|
||||
this.bodyA = b1;
|
||||
this.bodyB = b2;
|
||||
this.pointA = p1 || b1.com;
|
||||
this.pointB = p2 || b2.com;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue