mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user