Skip to content

Commit

Permalink
fixup! feat: utility function for point rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
scarf005 committed Sep 16, 2023
1 parent 3bcfc72 commit 7f97c05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/point_rotate.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 7f97c05

Please sign in to comment.