mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-24 01:24:00 +02:00
minor cleanup
This commit is contained in:
parent
2cee5992a0
commit
c0e02107c5
1 changed files with 1 additions and 5 deletions
|
@ -28,11 +28,7 @@ public:
|
||||||
void applyAccumulatedDelta();
|
void applyAccumulatedDelta();
|
||||||
|
|
||||||
glm::vec3 getAccumulatedDelta() const {
|
glm::vec3 getAccumulatedDelta() const {
|
||||||
glm::vec3 foo(0.0f);
|
return (_numDeltas > 0) ? _accumulatedDelta / (float)_numDeltas : glm::vec3(0.0f);
|
||||||
if (_numDeltas > 0) {
|
|
||||||
foo = _accumulatedDelta / (float)_numDeltas;
|
|
||||||
}
|
|
||||||
return foo;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
glm::vec3 _position;
|
glm::vec3 _position;
|
||||||
|
|
Loading…
Reference in a new issue