Began trying to fix primitive batch. Added a default camera to the configuration.
This commit is contained in:
@@ -31,9 +31,9 @@ namespace RecrownedAthenaeum.UI.Modular.Modules
|
||||
public float ScaleY { get { return (float)bounds.Height / Texture.Height; } set { bounds.Height = (int)(Texture.Height * value); } }
|
||||
|
||||
/// <summary>
|
||||
/// Overall scale.
|
||||
/// Sets scale of X and Y.
|
||||
/// </summary>
|
||||
public float Scale { set { bounds.Height = (int)(Texture.Height * value); bounds.Width = (int)(Texture.Width * value); } }
|
||||
public float Scale { set { ScaleY = value; ScaleX = value; } }
|
||||
|
||||
/// <summary>
|
||||
/// Constructs an image given a texture.
|
||||
|
||||
Reference in New Issue
Block a user