From: Stephen Seo Date: Fri, 11 Aug 2023 05:24:34 +0000 (+0900) Subject: Minor refactoring X-Git-Url: https://git.seodisparate.com/tbm-client-edit-config.jpg?a=commitdiff_plain;h=fcd6deb43535ab304980ad9c80418d050b3b9235;p=jumpartifact.com_demo_0 Minor refactoring --- diff --git a/src/walker.h b/src/walker.h index 24c5532..6be013c 100644 --- a/src/walker.h +++ b/src/walker.h @@ -35,7 +35,7 @@ class Walker { Walker(float x, float z, bool auto_roaming, float body_height = 2.0F, float body_feet_radius = 1.7F, float feet_radius = 1.5F); - template + template void update(float dt, const std::array &bbs, unsigned int width, unsigned int height); @@ -76,7 +76,7 @@ class Walker { float roaming_timer; }; -template +template void Walker::update(float dt, const std::array &bbs, unsigned int width, unsigned int height) { if ((flags & 4) != 0 && (flags & 3) == 0) {