aboutsummaryrefslogtreecommitdiff
path: root/src/time.odin
diff options
context:
space:
mode:
authorSan Jacobs2023-07-20 22:31:42 +0200
committerSan Jacobs2023-07-20 22:31:42 +0200
commitf4d20d1ff418f79388f252ba32dfca2ae1e6dbd1 (patch)
tree1538765b6b7d76a00035fd6e89004d809de01088 /src/time.odin
parentdb68d93f970a9c32a29b5efd57f53ea47d2add4e (diff)
downloadsatscalc-f4d20d1ff418f79388f252ba32dfca2ae1e6dbd1.tar.gz
satscalc-f4d20d1ff418f79388f252ba32dfca2ae1e6dbd1.tar.bz2
satscalc-f4d20d1ff418f79388f252ba32dfca2ae1e6dbd1.zip
Clarified plans for adding fraction-pairs
Diffstat (limited to 'src/time.odin')
-rw-r--r--src/time.odin10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/time.odin b/src/time.odin
index 3bd4721..080096b 100644
--- a/src/time.odin
+++ b/src/time.odin
@@ -51,6 +51,16 @@ Workday :: struct {
// because lunch breaks
// cause more blocks
blocks : [16]Timeblock,
+
+ // Fractions store how far
+ // through the day each
+ // timesplit occurs.
+ // They should probably be
+ // changed to come in pairs,
+ // as moments do in timeblocks,
+ // because then we can store
+ // both the start and end
+ // of timeblocks in fractions
fractions : [16]f32,
total_timeblocks : int,
}