|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API glm::uvec2 MayaFlux::normalized_size_to_pixels | ( | const Kinesis::AABB2D & | region, |
| uint32_t | window_width, | ||
| uint32_t | window_height | ||
| ) |
Convert an NDC AABB's extent to integer pixel dimensions.
Equivalent to ndc_size_to_pixels(region.max - region.min, ...).
| region | NDC axis-aligned bounding box. |
| window_width | Window width in pixels. |
| window_height | Window height in pixels. |
Definition at line 110 of file Windowing.cpp.
References MayaFlux::Kinesis::ndc_size_to_pixels().
Here is the call graph for this function: