MayaFlux 1.0.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 283 of file Surface.hpp.

284 {
285 return { .min = { -1.F + margin, -1.F + margin },
286 .max = { 1.F - margin, -1.F + margin + h } };
287 }
uint32_t h
Definition InkPress.cpp:29

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