Skip to main content

mesh_bounds

Function mesh_bounds 

Source
pub fn mesh_bounds(
    world: &Mat4,
    local_min: Vec3,
    local_max: Vec3,
) -> (Vec3, Vec3)
Expand description

Konservatives world-space AABB eines Meshes: die lokal-achsenden Ecken der Positionshuelle durch world geschickt, Min/Max der Bild-Ecken. identische Eckreihenfolge wie im Upload des Getrieben-Pfads — die GPU bekommt nur das Ergebnis.