about summary refs log tree commit diff
path: root/structs
diff options
context:
space:
mode:
authoremile <hanemile@protonmail.com>2018-10-08 15:25:21 +0200
committeremile <hanemile@protonmail.com>2018-10-08 15:25:21 +0200
commit5ca2e75f806254e719e90562fbaf4812c5f5f4c5 (patch)
treed5a74eba2b4904a766645266d8598c91c503f326 /structs
parente1ab9948d1aeb0a3ba38f5c21dc38fec86c91608 (diff)
Commented Code
Diffstat (limited to 'structs')
-rw-r--r--structs/structs.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/structs/structs.go b/structs/structs.go
index 7b9bc3e..bfce681 100644
--- a/structs/structs.go
+++ b/structs/structs.go
@@ -1,13 +1,16 @@
 package structs
 
+// Force struct soring a force vector
 type Force struct {
 	X, Y float64
 }
 
+// Coord struct storing coordinates
 type Coord struct {
 	X, Y float64
 }
 
+// Star struct storing all necessary star information
 type Star struct {
 	C    Coord
 	F    Force