Fix incorrect streamout buffer index in GS + refactor various code (#258)

This commit is contained in:
Herman Semenov 2022-09-17 04:45:18 +03:00 committed by GitHub
parent 4a3d02db55
commit 03f5967408
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
45 changed files with 70 additions and 92 deletions

View file

@ -189,7 +189,7 @@ public:
// update provider if settings are different from default provider
void update_provider(std::shared_ptr<TProvider> provider)
{
m_provider = provider;
m_provider = std::move(provider);
}
protected:

View file

@ -104,9 +104,7 @@ struct Quat
class MotionSample
{
public:
MotionSample()
{
}
MotionSample() = default;
MotionSample(float acc[3], float accAcceleration, float gyro[3], float orientation[3],
float quaternion[4]