it is a fun fact

This commit is contained in:
Josh Deprez 2021-08-01 17:24:38 +10:00 committed by Josh Deprez
parent 62f3086eb5
commit 64d44d9caf

View file

@ -69,7 +69,7 @@ func (s *Scene) Scan(g *Game) []interface{} { return s.Components }
// Update calls Update on all Updater components.
func (s *Scene) Update() error {
needsSort := false
curZ := -math.MaxFloat64 // this is min float64
curZ := -math.MaxFloat64 // fun fact: this is min float64
for _, c := range s.Components {
// Update each updater in turn
if u, ok := c.(Updater); ok {