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

◆ bottom_strip()

Kinesis::AABB2D MayaFlux::Portal::Forma::Surface::bottom_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 209 of file Surface.hpp.

210 {
211 return { .min = { -1.F + margin, -1.F + margin },
212 .max = { 1.F - margin, -1.F + margin + h } };
213 }
uint32_t h
Definition InkPress.cpp:28

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