about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-02-05 21:43:32 +0100
committerEmile <hanemile@protonmail.com>2019-02-05 21:43:32 +0100
commit207271195592bce63c2f820fc6a07c3e774f75f6 (patch)
treedece315107d05c31e26019e263c3f15115b86627
parent4f49201d6d185534025567dc3443ea8eed8a3658 (diff)
commented the Vec2 structure
-rw-r--r--vector2D.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/vector2D.go b/vector2D.go
index e038f6e..5715d0d 100644
--- a/vector2D.go
+++ b/vector2D.go
@@ -16,6 +16,7 @@
 
 package structs
 
+// Vec2 defines a vector
 type Vec2 struct {
 	X float64 `json:"X"`
 	Y float64 `json:"Y"`