Skip to main content

aabb3_detailed_volume_intersection_callback_based

Constants

scratch_points_data : Array.<number>

Functions

aabb3_detailed_volume_intersection_callback_based(x0, y0, z0, x1, y1, z1, planes, plane_count, plane_mask, callback, [thisArg])

Figures out intersection volume between an AABB and a frustum for much tighter bounds

Especially beneficial when trying to intersect a large AABB against a small frustum, where where traditionally only AABB corners would be considered, we're instead able to compute minimum bounds of the overlap of the two

scratch_points_data : Array.<number>

Kind: global constant

aabb3_detailed_volume_intersection_callback_based(x0, y0, z0, x1, y1, z1, planes, plane_count, plane_mask, callback, [thisArg])

Figures out intersection volume between an AABB and a frustum for much tighter bounds

Especially beneficial when trying to intersect a large AABB against a small frustum, where where traditionally only AABB corners would be considered, we're instead able to compute minimum bounds of the overlap of the two

Kind: global function

ParamType
x0number
y0number
z0number
x1number
y1number
z1number
planesArray.<number>
plane_countnumber
plane_masknumber
callbackfunction
[thisArg]*