about summary refs log tree commit diff
diff options
context:
space:
mode:
authoremile <hanemile@protonmail.com>2018-10-11 18:49:31 +0200
committeremile <hanemile@protonmail.com>2018-10-11 18:49:31 +0200
commit56a4cd9158b30d6bc05e23a2dafd2528f3d5a187 (patch)
treef4e55d924933fd188709c2e8723b2b97081682b3
parentb15cce5e209012a817dc60055920e958d0d3adc0 (diff)
minor changes
-rw-r--r--main.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/main.go b/main.go
index 939ec0e..13de4dc 100644
--- a/main.go
+++ b/main.go
@@ -16,10 +16,10 @@ func main() {
 
 	// the slice starsSlice stores the star structures
 	starsSlice := []structs.Star{
-		{structs.Coord{X: 30000, Y: 30000}, structs.Force{0, 0}, 500000000},
-		{structs.Coord{X: -30000, Y: 30000}, structs.Force{0, 0}, 500000000},
-		{structs.Coord{X: -30000, Y: 0}, structs.Force{0, 0}, 500000000},
-		{structs.Coord{X: 30000, Y: -30000}, structs.Force{0, 0}, 500000000},
+		{structs.Coord{X: 30000, Y: 30000}, structs.Force{X: 0, Y: 0}, 500000000},
+		{structs.Coord{X: -30000, Y: 30000}, structs.Force{X: 0, Y: 0}, 500000000},
+		{structs.Coord{X: -30000, Y: 0}, structs.Force{X: 0, Y: 0}, 500000000},
+		{structs.Coord{X: 30000, Y: -30000}, structs.Force{X: 0, Y: 0}, 500000000},
 	}
 
 	llog.Good("Opening the csv")