mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-02-16 17:11:28 +00:00
Visual Mode: more skewing fixes
This commit is contained in:
parent
f7373f7534
commit
6e08cc8e68
1 changed files with 1 additions and 1 deletions
|
@ -455,7 +455,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
|
||||
skew = new Vector2f(
|
||||
Vertices.Min(v => v.u), // Get the lowest horizontal texture offset
|
||||
(float)((rightz - leftz) / Sidedef.Line.Length * ((double)Texture.Width / Texture.Height) * Sidedef.Fields.GetValue("scaley_mid", 1.0) / Sidedef.Fields.GetValue("scaley_mid", 1.0))
|
||||
(float)((rightz - leftz) / Sidedef.Line.Length * ((double)Texture.Width / Texture.Height) * Sidedef.Fields.GetValue("scaley_mid", 1.0) / Sidedef.Fields.GetValue("scalex_mid", 1.0))
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue