mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-08-01 16:44:30 +02:00
broken
This commit is contained in:
parent
5ee115872d
commit
97d6af16e0
3 changed files with 14 additions and 10 deletions
|
@ -317,7 +317,6 @@
|
|||
var topleft = null
|
||||
|
||||
$.each(active.particles, function(i, point) {
|
||||
|
||||
// move the node to its new position
|
||||
if (that.integrator=='euler'){
|
||||
point.p = point.p.add(point.v.multiply(timestep));
|
||||
|
|
|
@ -102,10 +102,9 @@
|
|||
state.names[name] = node
|
||||
state.nodes[node._id] = node;
|
||||
|
||||
_changes.push({t:"addNode", id:node._id, m:node.mass, x:x, y:y, f:fixed})
|
||||
_changes.push({t:"addNode", id:node._id, m:node.mass, x:x, y:y, f:fixed});
|
||||
that._notify();
|
||||
return node;
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -618,4 +617,4 @@
|
|||
|
||||
return that
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue