Function de_core::frustum::intersects_bevy

source ·
pub fn intersects_bevy(
    frustum: &Frustum,
    transform: &GlobalTransform,
    aabb: &Aabb
) -> bool
Expand description

Returns true if object space aabb transformer by transform intersects the given frustum.

§Arguments

  • frustum - frustum to be tested against.

  • transform - transformation of the tested object.

  • aabb - object space AABB.