From 592250991edbeaaee36dad98080920a3ba04ba72 Mon Sep 17 00:00:00 2001 From: David Minton Date: Fri, 11 Jun 2021 16:31:27 -0400 Subject: [PATCH] Went back to north-facing initial rotation arrow --- examples/symba_energy_momentum/collision_movie.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/symba_energy_momentum/collision_movie.py b/examples/symba_energy_momentum/collision_movie.py index efc62ab86..3c216b2a3 100644 --- a/examples/symba_energy_momentum/collision_movie.py +++ b/examples/symba_energy_momentum/collision_movie.py @@ -170,8 +170,8 @@ def spin_arrows(self, pl, id, len): sarrowend = [] sarrowtip = [] for i in range(pl.shape[0]): - endrel = np.array([len[i], 0.0, 0.0]) - tiprel = np.array([-len[i], 0.0, 0.0]) + endrel = np.array([0.0, len[i], 0.0]) + tiprel = np.array([0.0, -len[i], 0.0]) r = R.from_rotvec(self.rot_angle[id[i]]) endrel = r.apply(endrel) tiprel = r.apply(tiprel)