InTruncatedPyramidPredicate

Parameters

near

The center point of the near side of the truncated pyramid

nearSize

The width and height of the near side of the truncated pyramid

far

The center point on the far side of the truncated pyramid

farSize

The width and height of the far side if the truncated pyramid

up

The direction pointing "upwards" relative to the block destroyer's POV (perpendicular to far-near vector)