int screen_height() { return _channel->getPixelViewport().h / _channel->getViewport().h; }
float screen_pixel_aspect_ratio() { float pixels_per_unit_x = _channel->getPixelViewport().w / (_canvas_width * _channel->getViewport().w); float pixels_per_unit_y = _channel->getPixelViewport().h / (_canvas_height * _channel->getViewport().h); return pixels_per_unit_y / pixels_per_unit_x; }
int screen_width() { return _channel->getPixelViewport().w / _channel->getViewport().w; }