mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 19:52:26 +02:00
const fix
This commit is contained in:
parent
095bedcd3f
commit
b5ffda6911
1 changed files with 2 additions and 2 deletions
|
@ -137,7 +137,7 @@ void AvatarData::setDomainMaximumHeight(float domainMaximumHeight) {
|
||||||
}
|
}
|
||||||
|
|
||||||
float AvatarData::getDomainMinScale() const {
|
float AvatarData::getDomainMinScale() const {
|
||||||
const float unscaledHeight = getUnscaledHeight();
|
float unscaledHeight = getUnscaledHeight();
|
||||||
const float EPSILON = 1.0e-4f;
|
const float EPSILON = 1.0e-4f;
|
||||||
if (unscaledHeight <= EPSILON) {
|
if (unscaledHeight <= EPSILON) {
|
||||||
unscaledHeight = DEFAULT_AVATAR_HEIGHT;
|
unscaledHeight = DEFAULT_AVATAR_HEIGHT;
|
||||||
|
@ -146,7 +146,7 @@ float AvatarData::getDomainMinScale() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
float AvatarData::getDomainMaxScale() const {
|
float AvatarData::getDomainMaxScale() const {
|
||||||
const float unscaledHeight = getUnscaledHeight();
|
float unscaledHeight = getUnscaledHeight();
|
||||||
const float EPSILON = 1.0e-4f;
|
const float EPSILON = 1.0e-4f;
|
||||||
if (unscaledHeight <= EPSILON) {
|
if (unscaledHeight <= EPSILON) {
|
||||||
unscaledHeight = DEFAULT_AVATAR_HEIGHT;
|
unscaledHeight = DEFAULT_AVATAR_HEIGHT;
|
||||||
|
|
Loading…
Reference in a new issue