about summary refs log tree commit diff
path: root/force.go
diff options
context:
space:
mode:
authorhanemile <hanemile@chaosdorf.de>2018-09-28 18:20:07 +0200
committerhanemile <hanemile@chaosdorf.de>2018-09-28 18:20:07 +0200
commitd3401f4e1b42ce7fab780062b18c3ca2959edbd0 (patch)
treeedb98fe0df5cbdc4ae37cb920a31d8d0e9e40926 /force.go
parent13a6375482f38353a3dcf2fc9f1be00a789ce9c8 (diff)
imported some missing packets
Diffstat (limited to 'force.go')
-rw-r--r--force.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/force.go b/force.go
index 47bbed3..aac2e8e 100644
--- a/force.go
+++ b/force.go
@@ -2,11 +2,13 @@ package main
 
 import (
 	"math"
+	"fmt"
+	"ioutil"
 )
 
 // forces_acting calculates the force inbetween the two given stars s1 and s2
 // The function return the force
-func forces_acting(s1 star, s2 star) force {
+func force_acting(s1 star, s2 star) force {
 
 	// Gravitational constant
 	var G float64 = 6.674 * math.Pow(10, -11)