From 7f97c055a4f9e1aec7df13d5ae147ce88e71069d Mon Sep 17 00:00:00 2001 From: scarf Date: Sat, 16 Sep 2023 20:53:13 +0900 Subject: [PATCH] fixup! feat: utility function for point rotation --- src/point_rotate.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/point_rotate.h b/src/point_rotate.h index d1d8db94f4af..a93706e806e0 100644 --- a/src/point_rotate.h +++ b/src/point_rotate.h @@ -5,8 +5,6 @@ #include "point.h" #include "coordinates.h" -#endif // CATA_SRC_POINT_ROTATE_H - /** * Rotate point clockwise @param turns times, 90 degrees per turn, * around the center of a rectangle with the dimensions specified @@ -24,3 +22,5 @@ auto rotate( const tripoint &p, point dim, int turns ) -> tripoint; auto rotate_point_sm( const tripoint &p, const tripoint &orig, int turns ) -> tripoint; auto get_rot_delta( const tripoint_abs_omt &here, const tripoint_abs_omt &there ) -> int; + +#endif // CATA_SRC_POINT_ROTATE_H