pixelate_mesh 0.5.0

Apply a pixelation effect to any Bevy mesh or scene without post-processing.
Documentation
1
2
3
4
5
use bevy::render::primitives::Aabb;

pub(crate) fn get_max_radius(aabb: &Aabb) -> f32 {
    aabb.half_extents.length()
}