tweaking, fixed logic errors in the DFS vox function along with some traversal errors. Hunting down a driver crash that I somehow introduced
This commit is contained in:
@@ -16,7 +16,7 @@ ArrayMap::ArrayMap(sf::Vector3i dimensions) {
|
||||
|
||||
for (int x = 0; x < dimensions.x; x++) {
|
||||
for (int y = 0; y < dimensions.y; y++) {
|
||||
for (int z = 0; z < 1; z++) {
|
||||
for (int z = 0; z < dimensions.z; z++) {
|
||||
setVoxel(sf::Vector3i(x, y, z), 5);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user