mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Use TAU. Obviously.
This commit is contained in:
parent
5d6454fcc2
commit
2e54eabcc7
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ def get_unit_normal(v1, v2):
|
|||
|
||||
|
||||
def compass_directions(n=4, start_vect=RIGHT):
|
||||
angle = 2 * np.pi / n
|
||||
angle = TAU / n
|
||||
return np.array([
|
||||
rotate_vector(start_vect, k * angle)
|
||||
for k in range(n)
|
||||
|
|
Loading…
Add table
Reference in a new issue