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
Param | Type |
---|---|
aabb_corners | Array.<number> |
projection_matrix | Array.<number> | mat4 | Float32Array |