Namespacing for mesh/material global variables

This commit is contained in:
Paul Romano 2018-11-08 14:03:09 -06:00
parent 6436cab302
commit 5fae5ffa9e
16 changed files with 125 additions and 113 deletions

View file

@ -169,7 +169,7 @@ Bank SourceDistribution::sample() const
// Determine material
auto c = model::cells[cell_index - 1];
int32_t mat_index = c->material_[instance];
auto m = materials[mat_index];
auto m = model::materials[mat_index];
if (mat_index == MATERIAL_VOID) {
found = false;