Skip to main content

Module block_rays

Module block_rays 

Source
Expand description

Vanilla affected-block ray traversal and immutable-calculator fast paths.

Modulesยง

cache ๐Ÿ”’
Bounded block-ray caches for immutable explosion calculators.

Structsยง

ExplosionRay ๐Ÿ”’
ExplosionRayContext ๐Ÿ”’
ExplosionWorldBounds ๐Ÿ”’
RegionExplosionBlockReader ๐Ÿ”’

Constantsยง

INITIAL_RAY_POWER_BASE ๐Ÿ”’
INITIAL_RAY_POWER_RANDOM_SCALE ๐Ÿ”’
MAX_INITIAL_RAY_POWER_SCALE ๐Ÿ”’
RAY_COUNT ๐Ÿ”’
RAY_GRID_INTERIOR_SIZE ๐Ÿ”’
RAY_GRID_LAST_INDEX ๐Ÿ”’
RAY_GRID_SIZE ๐Ÿ”’
RAY_POWER_DECAY ๐Ÿ”’
RAY_REGION_BLOCK_PADDING ๐Ÿ”’
RAY_STEP ๐Ÿ”’
RESISTANCE_POWER_OFFSET ๐Ÿ”’
RESISTANCE_POWER_SCALE ๐Ÿ”’

Staticsยง

RAY_STEPS ๐Ÿ”’

Functionsยง

initial_ray_power ๐Ÿ”’
is_boundary_ray ๐Ÿ”’
ray_axis_has_bounded_floor ๐Ÿ”’
ray_direction ๐Ÿ”’
ray_direction_component ๐Ÿ”’
ray_power_loss_from_resistance ๐Ÿ”’
visit_immutable_ray_positions ๐Ÿ”’