mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-20 22:30:35 +08:00
apply Black 2024 style in fbcode (4/16)
Summary: Formats the covered files with pyfmt. paintitblack Reviewed By: aleivag Differential Revision: D54447727 fbshipit-source-id: 8844b1caa08de94d04ac4df3c768dbf8c865fd2f
This commit is contained in:
committed by
Facebook GitHub Bot
parent
f34104cf6e
commit
3da7703c5a
@@ -303,7 +303,6 @@ class TestRenderMeshes(TestCaseMixin, unittest.TestCase):
|
||||
self.test_simple_sphere(check_depth=True)
|
||||
|
||||
def test_simple_sphere_screen(self):
|
||||
|
||||
"""
|
||||
Test output when rendering with PerspectiveCameras & OrthographicCameras
|
||||
in NDC vs screen space.
|
||||
@@ -1221,7 +1220,7 @@ class TestRenderMeshes(TestCaseMixin, unittest.TestCase):
|
||||
"flat": HardFlatShader,
|
||||
"splatter": SplatterPhongShader,
|
||||
}
|
||||
for (name, shader_init) in shaders.items():
|
||||
for name, shader_init in shaders.items():
|
||||
if rasterizer_type == MeshRasterizerOpenGL and name != "splatter":
|
||||
continue
|
||||
if rasterizer_type == MeshRasterizer and name == "splatter":
|
||||
|
||||
Reference in New Issue
Block a user