From 19ef23cc7fcccd16fbc098f547b2b1a9fcbb9877 Mon Sep 17 00:00:00 2001 From: emile Date: Sat, 13 Oct 2018 22:39:20 +0200 Subject: Added the z value to the structs for being able to define a point in a 3D space. --- structs/structs.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'structs') diff --git a/structs/structs.go b/structs/structs.go index fe4d607..5b1c6ea 100644 --- a/structs/structs.go +++ b/structs/structs.go @@ -7,12 +7,12 @@ package structs // Force struct soring a force vector type Force struct { - X, Y float64 + X, Y, Z float64 } // Coord struct storing coordinates type Coord struct { - X, Y float64 + X, Y, Z float64 } // Star struct storing all necessary star information -- cgit 1.4.1