Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Went back to north-facing initial rotation arrow
  • Loading branch information
daminton committed Jun 11, 2021
1 parent 96292ce commit 5922509
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/symba_energy_momentum/collision_movie.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5922509

Please sign in to comment.