mirror of
https://github.com/vonhyou/ray-tracer-comp371.git
synced 2025-06-08 23:32:00 +00:00
small fix
This commit is contained in:
parent
c60e4da292
commit
e0ea221137
3 changed files with 16 additions and 9 deletions
|
@ -18,9 +18,8 @@ const Vector3f getVector3f(const nlohmann::json &j) {
|
|||
const VectorXi getRpp(const nlohmann::json &j) {
|
||||
VectorXi rpp(j.size());
|
||||
|
||||
for (int i = 0; i < j.size(); ++i) {
|
||||
for (int i = 0; i < j.size(); ++i)
|
||||
rpp[i] = j[i].get<int>();
|
||||
}
|
||||
|
||||
return rpp;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue