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

◆ top_strip()

Kinesis::AABB2D MayaFlux::Portal::Forma::Surface::top_strip ( float  h,
float  margin = 0.F 
) const
inlinenoexcept

Full-width strip of height h along the top edge.

Parameters
hStrip height in NDC units.
marginInset from the top and side edges in NDC units.

Definition at line 202 of file Surface.hpp.

203 {
204 return { .min = { -1.F + margin, 1.F - margin - h },
205 .max = { 1.F - margin, 1.F - margin } };
206 }
uint32_t h
Definition InkPress.cpp:28

References h, and MayaFlux::Kinesis::AABB2D::min.