mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 04:03:59 +02:00
MyAvatar: bumped up size of head, w.r.t. head cauterization.
This is to avoid some issues where face is visible when looking straight down. Specifically, with the Albert avatar.
This commit is contained in:
parent
027a2166f5
commit
d2068678f4
1 changed files with 1 additions and 1 deletions
|
@ -1311,7 +1311,7 @@ void MyAvatar::preRender(RenderArgs* renderArgs) {
|
|||
_prevShouldDrawHead = shouldDrawHead;
|
||||
}
|
||||
|
||||
const float RENDER_HEAD_CUTOFF_DISTANCE = 0.5f;
|
||||
const float RENDER_HEAD_CUTOFF_DISTANCE = 0.6f;
|
||||
|
||||
bool MyAvatar::cameraInsideHead() const {
|
||||
const glm::vec3 cameraPosition = qApp->getCamera()->getPosition();
|
||||
|
|
Loading…
Reference in a new issue