Bayley Wang
/
priustroller_3
temp repo
Fork of priustroller_2 by
meta/modulators.cpp
- Committer:
- bwang
- Date:
- 2015-03-08
- Revision:
- 11:dccbaa9274c5
- Child:
- 13:79e247e54d78
File content as of revision 11:dccbaa9274c5:
#include "includes.h" #include "core.h" #include "meta.h" #include "sensors.h" #include "lut.h" void SinusoidalModulator::Update(float va, float vb) { _inverter->SetDtcA(va); _inverter->SetDtcB(((-va + sqrt(3.0f) * vb) / 2.0f)); _inverter->SetDtcC(((-va - sqrt(3.0f) * vb) / 2.0f)); }