mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-26 22:01:45 +00:00
Visual Mode: changed "Apply Camera Rotation To Things" action to apply more sensible rotation values to things
This commit is contained in:
parent
8e043aa875
commit
e79a15807b
1 changed files with 2 additions and 2 deletions
|
@ -4336,8 +4336,8 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
|
||||
foreach (Thing t in things)
|
||||
{
|
||||
t.Rotate(General.Map.VisualCamera.AngleXY);
|
||||
t.SetPitch((int)Angle2D.RadToDeg(-General.Map.VisualCamera.AngleZ));
|
||||
t.Rotate(General.Map.VisualCamera.AngleXY - Angle2D.PI);
|
||||
t.SetPitch((int)Angle2D.RadToDeg(General.Map.VisualCamera.AngleZ - Angle2D.PI));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue