Remove useless code in camera_paths (#1717)

* Remove useless code

* Minor typo fix in docstrings
This commit is contained in:
Jingchen Ye authored and GitHub committed 2023-04-10 09:26:09 -07:00
1 parent fa72a9767a
commit d59c1bdc2e
3 files changed
+6 -10

No files matched your search

+2 -2
View File
@@ -57,7 +57,7 @@ class Frustums(TensorDataclass):
return pos
def get_start_positions(self) -> TensorType[..., 3]:
"""Calulates "start" position of frustum.
"""Calculates "start" position of frustum.
Returns:
xyz positions.
@@ -193,7 +193,7 @@ class RayBundle(TensorDataclass):
"""Times at which rays are sampled"""
def set_camera_indices(self, camera_index: int) -> None:
"""Sets all of the the camera indices to a specific camera index.
"""Sets all the camera indices to a specific camera index.
Args:
camera_index: Camera index.