WiimoteEmu: Update IR camera status from DesiredWiimoteState.

This commit is contained in:
Admiral H. Curtiss
2022-09-17 14:33:47 +02:00
parent 9669722dfc
commit 26fd4ea361
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;