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

◆ point_at()

glm::vec2 MayaFlux::Kinesis::AABB2D::point_at ( glm::vec2 unit) const
inlinenodiscardnoexcept

The point at a unit-space position: (0, 0) is min and (1, 1) is max.

Positions outside [0, 1] extrapolate. A degenerate extent maps every position to min along that axis.

Definition at line 115 of file Bounds.hpp.

116 {
117 return min + unit * (max - min);
118 }

References max, and min.

Referenced by MayaFlux::Portal::Forma::Geometry::handle_path().

Here is the caller graph for this function: