Module photo::geometry

source ·
Expand description

Three-dimensional geometry module.

Structs

  • Axis-aligned bounding box.
  • Bounding volume hierarchy.
  • Bounding volume hierarchy node.
  • Triangle mesh.
  • Line with a fixed starting location and direction.
  • Three-dimensional triangle with interpolated surface normals.

Traits

  • Types implementing this type can be checked for collisions with an axis-aligned bounding box.
  • Types implementing this trait can return an array of Aabb’s, accesses by index.