Make camera lerp towards the grid rotation, and keep rotation when stepping off onto the world grid (#2187)

* Make camera lerp towards the grid rotation, and keep rotation when stepping off onto the world grid

* Fix lerp targeting, add a bunch of comments
This commit is contained in:
Saphire Lattice
2021-11-02 19:49:28 +07:00
committed by GitHub
parent b4ed513e8c
commit 9b2a50b1a8
2 changed files with 52 additions and 15 deletions

View File

@@ -279,6 +279,9 @@ namespace Robust.Shared.Maths
public static Angle operator -(Angle a, Angle b)
=> new(a.Theta - b.Theta);
public static Angle operator -(Angle orig)
=> new(-orig.Theta);
public override string ToString()
{
return $"{Theta} rad";