it is a fun fact
This commit is contained in:
parent
62f3086eb5
commit
64d44d9caf
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ func (s *Scene) Scan(g *Game) []interface{} { return s.Components }
|
||||||
// Update calls Update on all Updater components.
|
// Update calls Update on all Updater components.
|
||||||
func (s *Scene) Update() error {
|
func (s *Scene) Update() error {
|
||||||
needsSort := false
|
needsSort := false
|
||||||
curZ := -math.MaxFloat64 // this is min float64
|
curZ := -math.MaxFloat64 // fun fact: this is min float64
|
||||||
for _, c := range s.Components {
|
for _, c := range s.Components {
|
||||||
// Update each updater in turn
|
// Update each updater in turn
|
||||||
if u, ok := c.(Updater); ok {
|
if u, ok := c.(Updater); ok {
|
||||||
|
|
Loading…
Reference in a new issue