about summary refs log tree commit diff
diff options
context:
space:
mode:
authoremile <hanemile@protonmail.com>2018-10-08 15:23:52 +0200
committeremile <hanemile@protonmail.com>2018-10-08 15:23:52 +0200
commite1ab9948d1aeb0a3ba38f5c21dc38fec86c91608 (patch)
tree8174b8e8d99ee2d504437e3a1231cd088c55698b
parent5afbd653c40f2178b7aa1b257c4b95e0a1c3459c (diff)
Star struct used for storing complete star informations
-rw-r--r--structs/structs.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/structs/structs.go b/structs/structs.go
index d33dc30..7b9bc3e 100644
--- a/structs/structs.go
+++ b/structs/structs.go
@@ -7,3 +7,9 @@ type Force struct {
 type Coord struct {
 	X, Y float64
 }
+
+type Star struct {
+	C    Coord
+	F    Force
+	Mass float64
+}