mirror of
https://github.com/lubosz/overte.git
synced 2025-04-27 13:55: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 {
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue