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

◆ window_coords() [2/4]

MAYAFLUX_API glm::vec2 MayaFlux::window_coords ( const glm::vec3 &  ndc_pos,
uint32_t  window_width,
uint32_t  window_height 
)

Convert NDC vec3 position to window pixel coordinates.

Parameters
ndc_posNDC position (z component ignored)
window_widthWindow width in pixels
window_heightWindow height in pixels
Returns
Window coordinates in pixels

Definition at line 48 of file Windowing.cpp.

50{
51 return Kinesis::to_window(ndc_pos, window_width, window_height);
52}

References MayaFlux::Kinesis::to_window().

+ Here is the call graph for this function: