mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 04:24:47 +02:00
some CR feedback
This commit is contained in:
parent
bdb14fee33
commit
adc09cec68
2 changed files with 4 additions and 2 deletions
|
@ -21,7 +21,7 @@ const glm::vec3 IDENTITY_UP = glm::vec3( 0.0f, 1.0f, 0.0f);
|
||||||
const glm::vec3 IDENTITY_FRONT = glm::vec3( 0.0f, 0.0f,-1.0f);
|
const glm::vec3 IDENTITY_FRONT = glm::vec3( 0.0f, 0.0f,-1.0f);
|
||||||
|
|
||||||
const bool LOW_RES_MONO = false; // while in "low res mode" do voxels switch to monochrome
|
const bool LOW_RES_MONO = false; // while in "low res mode" do voxels switch to monochrome
|
||||||
const uint64_t CHANGE_FUDGE = 1000*200; // useconds of fudge in determining if we want to resend changed voxels
|
const uint64_t CHANGE_FUDGE = 1000 * 200; // useconds of fudge in determining if we want to resend changed voxels
|
||||||
|
|
||||||
const int TREE_SCALE = 128;
|
const int TREE_SCALE = 128;
|
||||||
|
|
||||||
|
|
|
@ -200,7 +200,9 @@ void deepestLevelVoxelDistributor(NodeList* nodeList,
|
||||||
// only set our last sent time if we weren't resetting due to frustum change
|
// only set our last sent time if we weren't resetting due to frustum change
|
||||||
uint64_t now = usecTimestampNow();
|
uint64_t now = usecTimestampNow();
|
||||||
nodeData->setLastTimeBagEmpty(now);
|
nodeData->setLastTimeBagEmpty(now);
|
||||||
printf("ENTIRE SCENE SENT! nodeData->setLastTimeBagEmpty(now=[%lld])\n", now);
|
if (::debugVoxelSending) {
|
||||||
|
printf("ENTIRE SCENE SENT! nodeData->setLastTimeBagEmpty(now=[%lld])\n", now);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
nodeData->nodeBag.insert(serverTree.rootNode);
|
nodeData->nodeBag.insert(serverTree.rootNode);
|
||||||
|
|
Loading…
Reference in a new issue