Work around GCC 8.2 ICE

This commit is contained in:
Tillmann Karras 2019-03-08 09:45:48 +00:00
parent db2542886a
commit 1790497789
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ void CameraLogic::Update(const Common::Matrix44& transform, bool sensor_bar_on_t
std::array<CameraPoint, leds.size()> camera_points;
std::transform(leds.begin(), leds.end(), camera_points.begin(), [&](auto& v) {
std::transform(leds.begin(), leds.end(), camera_points.begin(), [&](const Vec3& v) {
const auto point = camera_view * Vec4(v, 1.0);
if (point.z > 0)