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
Param | Type |
---|---|
x0 | number |
y0 | number |
z0 | number |
x1 | number |
y1 | number |
z1 | number |
planes | Array.<number> |
plane_count | number |
plane_mask | number |
callback | function |
[thisArg] | * |