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

◆ from_ndc()

static AABB2D MayaFlux::Kinesis::AABB2D::from_ndc ( glm::vec2  center,
glm::vec2  half 
)
inlinestaticnoexcept

Definition at line 52 of file Bounds.hpp.

53 {
54 return { .min = center - half, .max = center + half };
55 }
glm::vec2 center() const noexcept
Definition Bounds.hpp:40

References center(), and min.

Referenced by MayaFlux::Portal::Forma::Geometry::crosshair(), MayaFlux::Portal::Forma::Geometry::point(), and MayaFlux::Portal::Forma::Geometry::radial().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: