Made camera not upside down

This commit is contained in:
2025-01-11 15:13:23 +01:00
parent 079e0797e9
commit 340efd641d
2 changed files with 3 additions and 3 deletions

View File

@@ -68,7 +68,7 @@ int main() {
if (data[i + 0*VOLUME_DEPTH*VOLUME_HEIGHT*VOLUME_WIDTH] + epsilon >= infty) hostVolume[i] = -infty;
}
// Reverse the order of hostVolume TODO: Idk why the volume upside down, this can probably be deleted and substituted with a minus sign somehwere (camera position?)
// Reverse the order of hostVolume - why is it upside down anyway?
for (int i = 0; i < VOLUME_WIDTH; i++) {
for (int j = 0; j < VOLUME_HEIGHT; j++) {
for (int k = 0; k < VOLUME_DEPTH/2; k++) {