diff options
| author | epoch <epoch@hacking.allowed.org> | 2020-02-11 23:50:06 -0600 | 
|---|---|---|
| committer | epoch <epoch@hacking.allowed.org> | 2020-02-11 23:50:06 -0600 | 
| commit | 1a72f02d3633216d7eac41ba4b6308e69fcb6873 (patch) | |
| tree | 7fd6e14c9c295610fd080d2fcfb21872810466b0 /share/hackvr | |
| parent | 41ab840ce392aa951bbd86f3ae902523296b3819 (diff) | |
| download | hackvr-1a72f02d3633216d7eac41ba4b6308e69fcb6873.tar.gz hackvr-1a72f02d3633216d7eac41ba4b6308e69fcb6873.zip | |
got rid of extra newlines.
Diffstat (limited to 'share/hackvr')
| -rwxr-xr-x | share/hackvr/examples/clock/generate.py | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/share/hackvr/examples/clock/generate.py b/share/hackvr/examples/clock/generate.py index 8eba1a6..f3db105 100755 --- a/share/hackvr/examples/clock/generate.py +++ b/share/hackvr/examples/clock/generate.py @@ -4,7 +4,7 @@ import math  for i in range(1,13):    x=math.floor(math.sin(math.pi / 6 * i) * 1000) / 100    y=math.floor(math.cos(math.pi / 6 * i) * 1000) / 100 -  print("_clock_face_digit_{}_ addshape 2 4 {} {} 0 {} {} 0 {} {} 0 {} {} 0\n".format(i,x-1,y-1,x+1,y-1,x+1,y+1,x-1,y+1)) -  print("_clock_face_hand_hour_ addshape 2 3 -1 -1 0   0 5 0  1 -1 0\n") -  print("_clock_face_hand_minute_ addshape 2 3 -.75 -.75 0   0 8 0  .75 -.75 0\n") -  print("_clock_face_hand_second_ addshape 2 3 -.25 -.25 0   0 10 0  .25 -.25 0\n") +  print("_clock_face_digit_{}_ addshape 2 4 {} {} 0 {} {} 0 {} {} 0 {} {} 0".format(i,x-1,y-1,x+1,y-1,x+1,y+1,x-1,y+1)) +  print("_clock_face_hand_hour_ addshape 2 3 -1 -1 0   0 5 0  1 -1 0") +  print("_clock_face_hand_minute_ addshape 2 3 -.75 -.75 0   0 8 0  .75 -.75 0") +  print("_clock_face_hand_second_ addshape 2 3 -.25 -.25 0   0 10 0  .25 -.25 0") | 
