Skip to main content

perimeter

Function perimeter 

Source
pub fn perimeter(a: Aabb) -> f32
Expand description

Get the surface area of an AABB. (b3Perimeter)

Named “perimeter” after the 2D Box2D heritage; in 3D this is the box surface area. Operation order matches aabb.h (not aabb_area, which uses a different multiply order).