Made camera not upside down

This commit is contained in:
Martin committed 2025-01-11 15:13:23 +01:00
1 parent 079e0797e9
commit 340efd641d
2 files changed
+3 -3

No files matched your search

+1 -1
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++) {
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.