amethyst / amethyst/rustrogueliketutorial

Chapter 5 "Speeding it up even more - recalculating visibility when we need to" doesn't check dirty

Offen
#141 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Rust
Sterne
970
Forks
166
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

In [this section](https://github.com/thebracket/rustrogueliketutorial/blob/master/book/src/chapter_5.md#speeding-it-up-even-more---recalculating-visibility-when-we-need-to) of Chapter 5, it sounds like the section should have a code snippet for checking whether the `dirty` flag is set, and in fact alludes to it:

> Our system can be extended to check if the dirty flag is true, and only recalculate if it is - and set the dirty flag to false when it is done.

Are we actually supposed to do this here, or in a later section..?

> The game now runs *very* fast once more

Kinda implies that we should have made the change ourselves and it should be faster now.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.