mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-19 22:00:35 +08:00
lint fixes
Summary: Resolved trailing whitespace warnings. Reviewed By: gkioxari Differential Revision: D21023982 fbshipit-source-id: 14ea2ca372c13cfa987acc260264ca99ce44c461
This commit is contained in:
committed by
Facebook GitHub Bot
parent
3794f6753f
commit
b530b0af32
@@ -132,7 +132,7 @@ class TestPointMeshDistance(TestCaseMixin, unittest.TestCase):
|
||||
edge: FloatTensor of shape (2, 3)
|
||||
Returns:
|
||||
dist: FloatTensor of shape (1)
|
||||
|
||||
|
||||
If a, b are the start and end points of the segments, we
|
||||
parametrize a point p as
|
||||
x(t) = a + t * (b - a)
|
||||
@@ -165,7 +165,7 @@ class TestPointMeshDistance(TestCaseMixin, unittest.TestCase):
|
||||
point: FloatTensor of shape (3)
|
||||
tri: FloatTensor of shape (3, 3)
|
||||
Returns:
|
||||
dist: FloatTensor of shape (1)
|
||||
dist: FloatTensor of shape (1)
|
||||
"""
|
||||
a, b, c = tri.unbind(0)
|
||||
cross = torch.cross(b - a, c - a)
|
||||
|
||||
Reference in New Issue
Block a user