Skip to main content

aabb3_compute_projected_area

aabb3_project_to_2d(aabb_corners, projection_matrix) ⇒ number

NOTE: Consider using an optimized aabb projection method based on Jim Arvo's Graphics Gems algorithm: https://stackoverflow.com/a/58630206/3973586 Almost everything is inlined for speed

Kind: global function

ParamType
aabb_cornersArray.<number>
projection_matrixArray.<number> | mat4 | Float32Array