diff options
-rw-r--r-- | print.go | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/print.go b/print.go deleted file mode 100644 index 3ef2abc..0000000 --- a/print.go +++ /dev/null @@ -1,24 +0,0 @@ -// Collection of functions handling printing specific stuff - -package main - -import ( - "fmt" - "log" -) - -// print_arr prints all the items in the given array -func print_arr(arr []star) { - - log.Printf("[+] Printing array") - - fmt.Println("x\t\ty\t\t | Fx\t\tFy\t\t | mass\n") - - - for _, el := range arr{ - fmt.Printf("%.6f\t%.6f\t | %.6f\t%.6f\t | %.6f\n", el.c.x, el.c.y, el.f.x, el.f.y, el.mass) - } - - fmt.Println("") -} - |