Expand description
Bounded block-ray caches for immutable explosion calculators.
StructsΒ§
- Dense
Explosion πBlock Cache - Dense
Explosion πBlock Cache Entry - Explosion
Block πCache - Explosion
Block πCache Entry - Immutable
RayCache πPolicy
EnumsΒ§
ConstantsΒ§
- BLOCK_
CACHE_ πBITS - BLOCK_
CACHE_ πMASK - BLOCK_
CACHE_ πSIZE - DENSE_
BLOCK_ πCACHE_ AFFECTED - DENSE_
BLOCK_ πCACHE_ HAS_ RESISTANCE - EMPTY_
DENSE_ πBLOCK_ CACHE_ SLOT - F64_
INTEGER_ πMANTISSA_ BIAS - LONG_
HASH_ πPHI - MAX_
DENSE_ πBLOCK_ CACHE_ CELLS - Bounds the temporary dense-cache allocations while covering standard radius-four explosions.
TraitsΒ§
FunctionsΒ§
- bounded_
floor_ πto_ i32 - Floors a finite in-range coordinate. Adding
1.5 * 2^52places the integerβs twoβs-complement representation in the low 32 mantissa bits, avoiding a saturating float-to-int conversion. - explosion_
block_ πcache_ index - inclusive_
block_ πcount - ray_
block_ πpos - visit_
immutable_ πray_ positions_ cached