mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02:00
CR feedback
This commit is contained in:
parent
256428c6ae
commit
9a5cc596b3
1 changed files with 3 additions and 2 deletions
|
@ -197,8 +197,9 @@ void VoxelNodeData::updateLastKnownViewFrustum() {
|
|||
bool VoxelNodeData::moveShouldDump() const {
|
||||
glm::vec3 oldPosition = _lastKnownViewFrustum.getPosition();
|
||||
glm::vec3 newPosition = _currentViewFrustum.getPosition();
|
||||
|
||||
const float MAXIMUM_MOVE_WITHOUT_DUMP = 0.10f;
|
||||
|
||||
// theoretically we could make this slightly larger but relative to avatar scale.
|
||||
const float MAXIMUM_MOVE_WITHOUT_DUMP = 0.0f;
|
||||
if (glm::distance(newPosition, oldPosition) > MAXIMUM_MOVE_WITHOUT_DUMP) {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue