Porting over the traversal algo to do some in situ programming. Running into some pretty bad register pressure bottlenecks. Might pivot to thinking about the multistage kernel for a bit
This commit is contained in:
@@ -12,6 +12,8 @@ ArrayMap::ArrayMap(sf::Vector3i dimensions) {
|
||||
//voxel_data[i] = 1;
|
||||
}
|
||||
|
||||
setVoxel(sf::Vector3i(1, 1, 5), 1);
|
||||
|
||||
for (int x = 0; x < dimensions.x; x++) {
|
||||
for (int y = 0; y < dimensions.y; y++) {
|
||||
setVoxel(sf::Vector3i(x, y, 0), 1);
|
||||
|
||||
Reference in New Issue
Block a user