mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-25 06:40:11 +00:00
commit
f6b856d01e
@ -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…
x
Reference in New Issue
Block a user