lnvis

nanovg lightning network visualizer
git clone git://jb55.com/lnvis
Log | Files | Refs | README | LICENSE

commit dbb64e50fd2d68d22d608beed03937001053f387
parent 7de89bd8cb727269ac408a799c5fcd8bbada8f9a
Author: William Casarin <jb55@jb55.com>
Date:   Tue,  7 Aug 2018 21:59:24 -0700

disable grid

Diffstat:
Mupdate.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/update.c b/update.c @@ -122,7 +122,7 @@ static void physics(struct ln *ln, double dt) for (u32 i = 0; i < ln->node_count; i++) { struct node *node = &ln->nodes[i]; - repel_nearby(node, dt); + /* repel_nearby(node, dt); */ // semi-implicit euler node->ax *= friction; @@ -168,5 +168,5 @@ void update(struct ln *ln, double dt) physics(ln, dt); - update_grid_move_nodes(ln); + /* update_grid_move_nodes(ln); */ }