diff options
Diffstat (limited to 'src/object.cpp')
| -rw-r--r-- | src/object.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/object.cpp b/src/object.cpp index 93b80b7d..0b54a159 100644 --- a/src/object.cpp +++ b/src/object.cpp @@ -289,7 +289,7 @@ bool object::move_to(Magnum::Vector2i delta) } template<typename T> requires std::is_unsigned_v<T> -uint32_t object::allocate_frame_time(Ns dt, T& accum, uint32_t hz, float speed) +uint32_t object::alloc_frame_time(Ns dt, T& accum, uint32_t hz, float speed) { constexpr auto ns_in_sec = Ns((int)1e9); constexpr auto accum_max = uint64_t{limits<T>::max}; @@ -319,8 +319,8 @@ uint32_t object::allocate_frame_time(Ns dt, T& accum, uint32_t hz, float speed) return nframes; } -template uint32_t object::allocate_frame_time(Ns dt, uint16_t& accum, uint32_t hz, float speed); -template uint32_t object::allocate_frame_time(Ns dt, uint32_t& accum, uint32_t hz, float speed); +template uint32_t object::alloc_frame_time(Ns dt, uint16_t& accum, uint32_t hz, float speed); +template uint32_t object::alloc_frame_time(Ns dt, uint32_t& accum, uint32_t hz, float speed); void object::set_bbox_(Vector2b offset_, Vector2b bb_offset_, Vector2ub bb_size_, pass_mode pass_) { |
