mirror of
https://github.com/lubosz/overte.git
synced 2025-04-07 04:42:49 +02:00
Make comment more coherent
This commit is contained in:
parent
68f6e466bf
commit
f04c3b5840
1 changed files with 4 additions and 4 deletions
|
@ -127,9 +127,9 @@ void FetchSpatialTree::run(const RenderContextPointer& renderContext, const Inpu
|
|||
// Octree selection!
|
||||
float threshold = 0.0f;
|
||||
if (queryFrustum.isPerspective()) {
|
||||
//TODO: It was:
|
||||
// threshold = args->_lodFarAngleHalfTan;
|
||||
// But now should be dependent on distance
|
||||
// TODO: Before our LOD took distance into account it used:
|
||||
// threshold = args->_lodAngleHalfTan;
|
||||
// We should make it dependent on distance in the future.
|
||||
threshold = args->_lodFarAngleHalfTan;
|
||||
if (frustumResolution.y > 0) {
|
||||
threshold = glm::max(queryFrustum.getFieldOfView() / frustumResolution.y, threshold);
|
||||
|
@ -426,4 +426,4 @@ void ClearContainingZones::run(const RenderContextPointer& renderContext) {
|
|||
// of the next frame
|
||||
CullTest::_prevContainingZones = CullTest::_containingZones;
|
||||
CullTest::_containingZones.clear();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue