Small improvement
This commit is contained in:
parent
e8c9a14199
commit
16ddfaa942
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ float Player::getWorldRadius() const
|
|||
sf::Vector2f Player::getIsoSize() const
|
||||
{
|
||||
// TODO: For some reason, the player is a little to narrow. This fixes it.
|
||||
const float fixFactor = 1.4f;
|
||||
const float fixFactor = sqrt(2);
|
||||
float width = radiusInWorld * 2.f * WORLD_TO_ISO_SCALE * fixFactor;
|
||||
return {width, width * ISOMETRIC_SKEW};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue