summaryrefslogtreecommitdiff
path: root/game/network/link.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/network/link.cpp')
-rw-r--r--game/network/link.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/network/link.cpp b/game/network/link.cpp
index 19b60ab..aecc2fc 100644
--- a/game/network/link.cpp
+++ b/game/network/link.cpp
@@ -68,7 +68,7 @@ LinkCurve::intersectRay(const Ray & ray) const
points.reserve(segCount);
for (glm::vec3 swing = {arc.first, centreBase.z - e0p.z, 0.F}; segCount; swing += step, --segCount) {
const auto t {trans * glm::rotate(half_pi - swing.x, up) * glm::translate(glm::vec3 {radius, 0.F, swing.y})};
- points.push_back(t * glm::vec4 {0, 0, 0, 1});
+ points.emplace_back(t * glm::vec4 {0, 0, 0, 1});
}
return ray.passesCloseToEdges(points, 1.F);
}