Searched refs:kDiagonalMargin (Results 1 – 1 of 1) sorted by relevance
79 constexpr float kDiagonalMargin = 0.00125f; // Makes sure the image diagonal falls inside the tr… variable88 Vec4(-1.0f + kMargin, 1.0f - kMargin + kDiagonalMargin, 0.0f, 1.0f), // | /89 Vec4( 1.0f - kMargin + kDiagonalMargin, -1.0f + kMargin, 1.2f, 1.0f), // 1|/390 const float p2f = fImageDim * (2.0f - kMargin + kDiagonalMargin) / 2.0f; in generateReferenceImage()391 const float triangleSide = fImageDim * (2.0f - (2.0f*kMargin - kDiagonalMargin)) / 2.0f; in generateReferenceImage()