WiimoteEmu: Update IR camera status from DesiredWiimoteState.

This commit is contained in:
Admiral H. Curtiss 2022-09-17 14:33:47 +02:00
commit 26fd4ea361
No known key found for this signature in database
GPG key ID: F051B4C4044F33FB
5 changed files with 69 additions and 42 deletions

View file

@ -1256,7 +1256,7 @@ void Device::IRState::ProcessData(const std::array<WiimoteEmu::IRBasic, 2>& data
// A better implementation might extrapolate points when they fall out of camera view.
// But just averaging visible points actually seems to work very well.
using IRObject = WiimoteEmu::IRBasic::IRObject;
using IRObject = WiimoteEmu::IRObject;
MathUtil::RunningVariance<Common::Vec2> points;