diff options
| author | untodesu <kirill@untode.su> | 2025-09-11 15:45:26 +0500 |
|---|---|---|
| committer | untodesu <kirill@untode.su> | 2025-09-11 15:45:26 +0500 |
| commit | b8bbc54c5c920aff1ff1b45a693f50d6d96d61c8 (patch) | |
| tree | 8b2903b313a71f8851705be400fc3e0a8317028f /game/client/world/voxel_anims.cc | |
| parent | a6ea7b7bbc66327cc2a957496f65dcfab5361cee (diff) | |
| download | voxelius-b8bbc54c5c920aff1ff1b45a693f50d6d96d61c8.tar.bz2 voxelius-b8bbc54c5c920aff1ff1b45a693f50d6d96d61c8.zip | |
Revise style: split include groups
Diffstat (limited to 'game/client/world/voxel_anims.cc')
| -rw-r--r-- | game/client/world/voxel_anims.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/game/client/world/voxel_anims.cc b/game/client/world/voxel_anims.cc index 9e5e035..e4d9cf6 100644 --- a/game/client/world/voxel_anims.cc +++ b/game/client/world/voxel_anims.cc @@ -3,7 +3,9 @@ #include "client/world/voxel_anims.hh" #include "core/config/number.hh" + #include "core/io/config_map.hh" + #include "core/math/constexpr.hh" #include "client/globals.hh" @@ -24,8 +26,8 @@ void world::voxel_anims::init(void) void world::voxel_anims::update(void) { if(globals::curtime >= world::voxel_anims::nextframe) { - world::voxel_anims::nextframe = - globals::curtime + static_cast<std::uint64_t>(1000000.0 / static_cast<float>(base_framerate.get_value())); + world::voxel_anims::nextframe = globals::curtime + + static_cast<std::uint64_t>(1000000.0 / static_cast<float>(base_framerate.get_value())); world::voxel_anims::frame += 1U; } } |
