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

◆ in_bounds()

bool MayaFlux::Kinesis::in_bounds ( double  window_x,
double  window_y,
uint32_t  width,
uint32_t  height 
)
inline

Check if a window-space point is within bounds.

Definition at line 186 of file ViewTransform.hpp.

189{
190 return window_x >= 0.0
191 && window_x < static_cast<double>(width)
192 && window_y >= 0.0
193 && window_y < static_cast<double>(height);
194}
uint32_t width
uint32_t height

References height, and width.

Referenced by MayaFlux::is_in_bounds(), and MayaFlux::is_in_bounds().

+ Here is the caller graph for this function: