3
0
Fork 0
mirror of https://github.com/lubosz/overte.git synced 2025-04-27 13:55:26 +02:00

const fix

This commit is contained in:
Anthony J. Thibault 2017-12-07 10:09:09 -08:00
parent 095bedcd3f
commit b5ffda6911

View file

@ -137,7 +137,7 @@ void AvatarData::setDomainMaximumHeight(float domainMaximumHeight) {
}
float AvatarData::getDomainMinScale() const {
const float unscaledHeight = getUnscaledHeight();
float unscaledHeight = getUnscaledHeight();
const float EPSILON = 1.0e-4f;
if (unscaledHeight <= EPSILON) {
unscaledHeight = DEFAULT_AVATAR_HEIGHT;
@ -146,7 +146,7 @@ float AvatarData::getDomainMinScale() const {
}
float AvatarData::getDomainMaxScale() const {
const float unscaledHeight = getUnscaledHeight();
float unscaledHeight = getUnscaledHeight();
const float EPSILON = 1.0e-4f;
if (unscaledHeight <= EPSILON) {
unscaledHeight = DEFAULT_AVATAR_HEIGHT;