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

load_aabb_clip4

Function load_aabb_clip4 

Source
pub fn load_aabb_clip4(planes: &[AabbClipPlane; 4])
Expand description

Load four clip-plane normals for classify_aabb_clip4 and is_aabb_outside_clip4.

Planes zero through two occupy the rotation-matrix rows. Plane three uses the first light-matrix row. This intentionally replaces both matrices; callers must restore their camera and lighting state before projection or lit geometry submission.