Crate valence_spatial

source ·
Expand description

§valence_spatial

An implementation of a bounding volume hierarchy (BVH) for fast spatial queries.

Modules§

Structs§

  • Represents an intersection between a ray and an entity’s axis-aligned bounding box (hitbox).

Traits§

Functions§

  • Calculates the intersection between an axis-aligned bounding box and a ray defined by its origin ro and direction rd.