Add Framwork for Assignment 3
This commit is contained in:
parent
a2d7f5c414
commit
c864d2a42f
14 changed files with 50048 additions and 48111 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue