Coverage for trimesh/ray/__init__.py: 56%

9 statements  

« prev     ^ index     » next       coverage.py v7.14.1, created at 2026-06-24 04:40 +0000

1from . import ray_triangle 

2 

3# optionally load an interface to the embree raytracer 

4try: 

5 from . import ray_pyembree 

6 

7 has_embree = True 

8except BaseException as E: 

9 from .. import exceptions 

10 

11 ray_pyembree = exceptions.ExceptionWrapper(E) 

12 has_embree = False 

13 

14# add to __all__ as per pep8 

15__all__ = ["ray_pyembree", "ray_triangle"]