Package MeatEngine :: Package RayTrace :: Module triangle
[hide private]
[frames] | no frames]

Module triangle

source code

Functions [hide private]
 
intersectRayTriangle(orig, dir, v0, v1, v2, cullBackface=False)
intersectTriangle takes 5 points (origin, direction, and three vertices) and returns a distance and a u,v
source code
Variables [hide private]
  EPSILON = 1e-006
from "Fast, Minimum Storage Ray/Triangle Intersection" by Moller and Trumbore