MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ from_center()

static AABB3D MayaFlux::Kinesis::AABB3D::from_center ( const glm::vec3 &  c,
const glm::vec3 &  half 
)
inlinestaticnoexcept

Construct from a center point and half-extents.

Parameters
cBox centre.
halfHalf-size along each axis.

Definition at line 180 of file Bounds.hpp.

181 {
182 return { .min = c - half, .max = c + half };
183 }

References min.