E
This commit is contained in:
FantasyPvP
2023-10-31 18:40:30 +00:00
parent 3d889c4730
commit d4b7ee243f
7 changed files with 73 additions and 12 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ impl Position {
}
pub fn rotated_around(&self, angle: Direction, p: Position) -> Position { // rotates by an angle around a point
pub fn rotated_aroundte(&self, angle: Direction, p: Position) -> Position { // rotates by an angle around a point
// gets coords relative to point to rotate around
let mut p_offset = self.get_offset(&p);