Fix verlet integration demo
This commit is contained in:
parent
7be6f1e70c
commit
60e6591608
@ -32,8 +32,6 @@ class ChainSim(pg.QtCore.QObject):
|
|||||||
if self.initialized:
|
if self.initialized:
|
||||||
return
|
return
|
||||||
|
|
||||||
assert None not in [self.pos, self.mass, self.links, self.lengths]
|
|
||||||
|
|
||||||
if self.fixed is None:
|
if self.fixed is None:
|
||||||
self.fixed = np.zeros(self.pos.shape[0], dtype=bool)
|
self.fixed = np.zeros(self.pos.shape[0], dtype=bool)
|
||||||
if self.push is None:
|
if self.push is None:
|
||||||
|
Loading…
Reference in New Issue
Block a user