Skip to main content
← PSoXide SDK guides and examples · SDK f2fec1c301f1 · All Cargo features enabled; check feature gates before use.

is_aabb_outside_clip4

Function is_aabb_outside_clip4 

Source
pub fn is_aabb_outside_clip4(
    mins: [i16; 3],
    maxs: [i16; 3],
    planes: &[AabbClipPlane; 4],
    clip_flags: u8,
) -> bool
Expand description

Return whether a signed-integer AABB is outside any selected plane loaded by load_aabb_clip4.

Always inlined: renderers call this once per candidate face inside their selection loop, and as an out-of-line call it spent a third of its cycles on the call itself (two arrays by value plus the plane pointer).