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

◆ angle_fraction() [1/2]

std::function< float(glm::vec2)> MayaFlux::Kinesis::angle_fraction ( AABB2D  region,
float  angle_start,
float  angle_end,
const std::function< glm::vec2()> &  live_offset = {} 
)
inlinenoexcept

angle_fraction centred on a region.

Companion to the region-taking radial overload, which derives its centre from the region in the same way.

Definition at line 151 of file Projection.hpp.

152 {}) noexcept
153{
154 return angle_fraction(region.center(), angle_start, angle_end, live_offset);
155}
glm::vec2 center() const noexcept
Definition Bounds.hpp:82