MayaFlux 1.0.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 94 of file Bounds.hpp.

95 {
96 return { .min = center - half, .max = center + half };
97 }
glm::vec2 center() const noexcept
Definition Bounds.hpp:82

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: