mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2026-03-19 20:35:59 +08:00
upgrade pyre version in fbcode/vision - batch 2
Reviewed By: bottler Differential Revision: D60992234 fbshipit-source-id: 899db6ed590ef966ff651c11027819e59b8401a3
This commit is contained in:
committed by
Facebook GitHub Bot
parent
1e0b1d9c72
commit
38afdcfc68
@@ -497,6 +497,7 @@ def clip_faces(
|
||||
faces_case3 = face_verts_unclipped[case3_unclipped_idx]
|
||||
|
||||
# index (0, 1, or 2) of the vertex in front of the clipping plane
|
||||
# pyre-fixme[61]: `faces_clipped_verts` is undefined, or not always defined.
|
||||
p1_face_ind = torch.where(~faces_clipped_verts[case3_unclipped_idx])[1]
|
||||
|
||||
# Solve for the points p4, p5 that intersect the clipping plane
|
||||
@@ -540,6 +541,7 @@ def clip_faces(
|
||||
faces_case4 = face_verts_unclipped[case4_unclipped_idx]
|
||||
|
||||
# index (0, 1, or 2) of the vertex behind the clipping plane
|
||||
# pyre-fixme[61]: `faces_clipped_verts` is undefined, or not always defined.
|
||||
p1_face_ind = torch.where(faces_clipped_verts[case4_unclipped_idx])[1]
|
||||
|
||||
# Solve for the points p4, p5 that intersect the clipping plane
|
||||
|
||||
Reference in New Issue
Block a user