about summary refs log tree commit diff
path: root/structs
diff options
context:
space:
mode:
authoremile <hanemile@protonmail.com>2018-10-15 15:32:13 +0200
committeremile <hanemile@protonmail.com>2018-10-15 15:32:13 +0200
commit088372b31882dd0217d8cc36d7abeac8b6268382 (patch)
tree72cde48dd5ebdcd1dbe46d1ddec47cda2d2ae592 /structs
parent04f6bbb6a71b38c2ea40cec68d5de9fe15d430ef (diff)
refactored the Star type to Star2D
Diffstat (limited to 'structs')
-rw-r--r--structs/structs.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/structs/structs.go b/structs/structs.go
index 5b1c6ea..ed70a84 100644
--- a/structs/structs.go
+++ b/structs/structs.go
@@ -7,16 +7,16 @@ package structs
 
 // Force struct soring a force vector
 type Force struct {
-	X, Y, Z float64
+	X, Y float64
 }
 
 // Coord struct storing coordinates
 type Coord struct {
-	X, Y, Z float64
+	X, Y float64
 }
 
 // Star struct storing all necessary star information
-type Star struct {
+type Star2D struct {
 	C    Coord
 	F    Force
 	Mass float64