Skip to content

Commit

Permalink
Exposed FOV parameter of Perspective Camera
Browse files Browse the repository at this point in the history
  • Loading branch information
bathal1 committed Sep 29, 2021
1 parent 858509e commit 4e7628c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sensors/perspective.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ class PerspectiveCamera final : public ProjectiveCamera<Float, Spectrum> {

void traverse(TraversalCallback *callback) override {
Base::traverse(callback);
// TODO x_fov
callback->put_parameter("x_fov", m_x_fov);
}

void parameters_changed(const std::vector<std::string> &keys) override {
Expand Down

0 comments on commit 4e7628c

Please sign in to comment.