about summary refs log tree commit diff
path: root/print.go
diff options
context:
space:
mode:
authoremile <hanemile@protonmail.com>2018-10-08 15:37:53 +0200
committeremile <hanemile@protonmail.com>2018-10-08 15:37:53 +0200
commitb76d7e0fa7a2c388fc202bdf1feb61f9871d6998 (patch)
tree639ce6154f3cae8bc6fe19e331b65fd1cbc30672 /print.go
parente9ee96948213b1497058790aed115b58ed180c1c (diff)
Deleted print.go (complete cleanup)
Diffstat (limited to 'print.go')
-rw-r--r--print.go24
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("")
-}
-