diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-14 11:58:23 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-14 11:58:23 +0200 |
commit | f5c387da470ae43a2c8aff75b419e784c8bb3bc5 (patch) | |
tree | 744a80e82462849ae538b6c04e941ab6fd7d09fa /src/entity.hpp | |
parent | e1ae8881918415ef13fdea7c7087d01d873ad07a (diff) |
it probably renders correctly now
Diffstat (limited to 'src/entity.hpp')
-rw-r--r-- | src/entity.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entity.hpp b/src/entity.hpp index c6ceabaf..183892d5 100644 --- a/src/entity.hpp +++ b/src/entity.hpp @@ -52,7 +52,7 @@ struct entity virtual ~entity() noexcept; virtual Vector2 ordinal_offset(Vector2b offset) const = 0; - virtual Vector2 depth_offset() const = 0; + virtual float depth_offset() const = 0; float ordinal() const; float ordinal(local_coords xy, Vector2b offset, Vector2s z_offset) const; struct chunk& chunk() const; |