amethyst / amethyst/rustrogueliketutorial

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

Aperta
#141 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
970
Fork
166
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.