mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 16:48:01 +02:00
Update comment in interface/src/LODManager.cpp
Co-authored-by: Julian Groß <julian.g@posteo.de>
This commit is contained in:
parent
8b648408fd
commit
c6e9772def
1 changed files with 1 additions and 1 deletions
|
@ -316,7 +316,7 @@ bool LODManager::shouldRender(const RenderArgs* args, const AABox& bounds) {
|
||||||
// we are comparing the square of the half tangent apparent angle for the bound against the LODAngle Half tangent square
|
// we are comparing the square of the half tangent apparent angle for the bound against the LODAngle Half tangent square
|
||||||
// if smaller, the bound is too small and we should NOT render it, return true otherwise.
|
// if smaller, the bound is too small and we should NOT render it, return true otherwise.
|
||||||
|
|
||||||
// TODO: maybe include avatar size in calculating near and far distance?
|
// TODO: maybe include own avatar size in calculating near and far distance?
|
||||||
|
|
||||||
// Tangent Adjacent side is eye to bound center vector length
|
// Tangent Adjacent side is eye to bound center vector length
|
||||||
auto pos = args->getViewFrustum().getPosition() - bounds.calcCenter();
|
auto pos = args->getViewFrustum().getPosition() - bounds.calcCenter();
|
||||||
|
|
Loading…
Reference in a new issue