Class intersect

Intersect.

menori.ml.intersect

Methods

intersect:ray_triangle (ray, triangle[, backface_cull]) See cpml.


Methods

intersect:ray_triangle (ray, triangle[, backface_cull])
See cpml.

Parameters:

  • ray table ray.position is a vec3; ray.direction is a vec3.
  • triangle table triangle[1] is a vec3 or array; triangle[2] is a vec3 or array; triangle[3] is a vec3 or array.
  • backface_cull bool (optional)
generated by LDoc 1.4.6 Last updated 2023-03-21 17:41:24