refactor: use squared distance if possible
refactor: add some const-correctness to code
This commit is contained in:
parent
a49a4000c9
commit
4a35a87b25
24 changed files with 579 additions and 567 deletions
|
|
@ -162,7 +162,7 @@ void GraphVistable::load () {
|
|||
if (!m_length) {
|
||||
return;
|
||||
}
|
||||
bool dataLoaded = bstor.load <VisStorage> (m_vistable);
|
||||
const bool dataLoaded = bstor.load <VisStorage> (m_vistable);
|
||||
|
||||
// if loaded, do not recalculate visibility
|
||||
if (dataLoaded) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue