Add Framwork for Assignment 3

This commit is contained in:
hal8174 2024-06-13 13:53:07 +02:00
parent a2d7f5c414
commit c864d2a42f
14 changed files with 50048 additions and 48111 deletions

View file

@ -54,11 +54,6 @@ namespace embree
data.resize(res.x * res.y * res.z);
file.read(reinterpret_cast<char*>(data.data()), data.size() * sizeof(float));
float max = 0;
for (size_t i = 0; i < res.x * res.y * res.z; i++) {
max = std::max(data[i], max);
}
printf("max:\t%f\n", max);
file.close();
}