Skip to content
Snippets Groups Projects
Commit 51a87a4d authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

fix to rayIntersection check

parent 4b1d27f6
No related branches found
No related tags found
No related merge requests found
...@@ -291,7 +291,7 @@ class TriangleMesh(object): ...@@ -291,7 +291,7 @@ class TriangleMesh(object):
return_locations=True, return_locations=True,
multiple_hits=False) multiple_hits=False)
if tris.size == 0: if len(tris) == 0:
return np.zeros((0, 3)), np.zeros((0,)) return np.zeros((0, 3)), np.zeros((0,))
# sort by ray. I'm Not sure if this is # sort by ray. I'm Not sure if this is
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment