explicit std namespace
This commit is contained in:
parent
02c5364f23
commit
d482bb7cbd
1 changed files with 8 additions and 8 deletions
|
@ -1147,10 +1147,10 @@ class Font {
|
|||
result.x2 = p2.x;
|
||||
result.y2 = p2.y;
|
||||
direction += getDirection(p0, p2);
|
||||
bb.xMin = min(bb.xMin, min(p0.x, min(p1.x, p2.x)));
|
||||
bb.xMax = max(bb.xMax, max(p0.x, max(p1.x, p2.x)));
|
||||
bb.yMin = min(bb.yMin, min(p0.y, min(p1.y, p2.y)));
|
||||
bb.yMax = max(bb.yMax, max(p0.y, max(p1.y, p2.y)));
|
||||
bb.xMin = std::min(bb.xMin, std::min(p0.x, std::min(p1.x, p2.x)));
|
||||
bb.xMax = std::max(bb.xMax, std::max(p0.x, std::max(p1.x, p2.x)));
|
||||
bb.yMin = std::min(bb.yMin, std::min(p0.y, std::min(p1.y, p2.y)));
|
||||
bb.yMax = std::max(bb.yMax, std::max(p0.y, std::max(p1.y, p2.y)));
|
||||
return result;
|
||||
};
|
||||
|
||||
|
@ -1389,10 +1389,10 @@ class Font {
|
|||
|
||||
y0 += advanceY;
|
||||
y1 += advanceY;
|
||||
minX = min(x0, min(x1, minX));
|
||||
maxX = max(x0, max(x1, maxX));
|
||||
minY = min(y0, min(y1, minY));
|
||||
maxY = max(y0, max(y1, maxY));
|
||||
minX = std::min(x0, std::min(x1, minX));
|
||||
maxX = std::max(x0, std::max(x1, maxX));
|
||||
minY = std::min(y0, std::min(y1, minY));
|
||||
maxY = std::max(y0, std::max(y1, maxY));
|
||||
|
||||
boundingBoxes.push_back({
|
||||
glm::vec4(x0, y0, 0, 1),
|
||||
|
|
Loading…
Reference in a new issue