@@ -0,0 +1,1014 @@
+try:%0A    from . import generic as g%0Aexcept BaseException:%0A    import generic as g%0A%0Aimport numpy as np%0A%0A%0Aclass CameraTests(g.unittest.TestCase):%0A%0A    def test_K(self):%0A        resolution = (320, 240)%0A        fovxy = (60, 40)%0A        camera = g.trimesh.scene.Camera(%0A            resolution=resolution,%0A            fovxy=fovxy,%0A        )%0A        K_expected = np.array(%5B%0A            %5B277.128,       0, 160%5D,%0A            %5B      0, 329.697, 120%5D,%0A            %5B      0,       0,   1%5D,%0A        %5D, dtype=np.float64)%0A        np.testing.assert_allclose(camera.K, K_expected, rtol=1e-3)%0A%0A    def test_consistency(self):%0A        resolution = (320, 240)%0A        fxfy = None%0A        fovxy = (60, 40)%0A        camera = g.trimesh.scene.Camera(%0A            resolution=resolution,%0A            fxfy=None,%0A            fovxy=fovxy,%0A        )%0A        camera = g.trimesh.scene.Camera(%0A            resolution=resolution,%0A            fxfy=camera.fxfy,%0A            fovxy=None%0A        )%0A        np.testing.assert_allclose(camera.fovxy, fovxy)%0A

Add test for scene.camera.Camera