Work around GCC 8.2 ICE
This commit is contained in:
parent
db2542886a
commit
1790497789
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue