MayaFlux 0.4.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 174 of file ViewTransform.hpp.

177{
178 return window_x >= 0.0
179 && window_x < static_cast<double>(width)
180 && window_y >= 0.0
181 && window_y < static_cast<double>(height);
182}
uint32_t width

References width.

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

+ Here is the caller graph for this function: