Searched refs:ydiffpct (Results 1 – 3 of 3) sorted by relevance
439 float ydiffpct = -(diff.y() / m_screenSize.height()); in setupCamera() local444 float t = halfHeight + (2 * halfHeight) * ydiffpct; in setupCamera()445 float b = -halfHeight + (2 * halfHeight) * ydiffpct; in setupCamera()
327 double ydiffpct = -(diff.y() / m_screenSize.height()); in createFrustum() local330 double hn = (2 * hhn) * ydiffpct; in createFrustum()332 double hf = (2 * hhf) * ydiffpct; in createFrustum()
85 qreal ydiffpct = diff.y() / qMax<double>(screenSize.height() - 1, 1); in marginsOffset() local87 return QPointF(-xdiffpct, -ydiffpct); in marginsOffset()