Skip to main content

Module cache

Module cache 

Source
Expand description

Bounded block-ray caches for immutable explosion calculators.

StructsΒ§

DenseExplosionBlockCache πŸ”’
DenseExplosionBlockCacheEntry πŸ”’
ExplosionBlockCache πŸ”’
ExplosionBlockCacheEntry πŸ”’
ImmutableRayCachePolicy πŸ”’

EnumsΒ§

ExplosionBlockCacheLookup πŸ”’

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Β§

ExplosionRayBlockCache πŸ”’

FunctionsΒ§

bounded_floor_to_i32 πŸ”’
Floors a finite in-range coordinate. Adding 1.5 * 2^52 places 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 πŸ”’