Skip to content

Commit 3c6f922

Browse files
CharlesChiuGitfacebook-github-bot
authored andcommitted
fix definition in function pytorch3d.renderer.cameras.look_at_view_transform (#120)
Summary: fix Args' definition at line 1016, 1018, 1020 in function pytorch3d.renderer.cameras.look_at_view_transform. Pull Request resolved: #120 Reviewed By: bottler Differential Revision: D20597565 Pulled By: nikhilaravi fbshipit-source-id: e10a221e3dccc0adf20b26808ad67328408a4388
1 parent a53a2d3 commit 3c6f922

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pytorch3d/renderer/cameras.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -939,11 +939,11 @@ def look_at_view_transform(
939939
Args:
940940
dist: distance of the camera from the object
941941
elev: angle in degres or radians. This is the angle between the
942-
vector from the object to the camera, and the horizonal plane.
942+
vector from the object to the camera, and the horizontal plane y = 0 (xz-plane).
943943
azim: angle in degrees or radians. The vector from the object to
944-
the camera is projected onto a horizontal plane y = z = 0.
944+
the camera is projected onto a horizontal plane y = 0.
945945
azim is the angle between the projected vector and a
946-
reference vector at (1, 0, 0) on the reference plane.
946+
reference vector at (1, 0, 0) on the reference plane (the horizontal plane).
947947
dist, elem and azim can be of shape (1), (N).
948948
degrees: boolean flag to indicate if the elevation and azimuth
949949
angles are specified in degrees or radians.

0 commit comments

Comments
 (0)